Tool API
Structure of Tool Query and Response
The ToolQuery class defines the structure for tool operation requests:
class ToolQuery(Query):
query_class: str = "tool"
tool_calls: List[Dict[str, Union[str, Any]]]
class Config:
arbitrary_types_allowed = TrueThe ToolResponse class defines the structure for tool operation responses:
class ToolResponse(Response):
response_class: str = "tool"
response_message: Optional[str] = None
finished: bool = False
error: Optional[str] = None
status_code: int = 200Available Tool Management Commands
List Hub Tools
# View all tools available in the AIOS Tool Hub
list-toolhub-toolsList Local Tools
Download a Tool
Upload a Tool
These commands help you discover, install, and share tools that extend AIOS functionality. Tools can provide specialized capabilities like data processing, external API access, and advanced computational features.
Last updated