curl --request GET \
--url https://agent-studio.thena.ai/api/v1/mcp/agents/{agent_id}/servers/{server_id}/tools \
--header 'x-api-key: <api-key>'[
{
"agent_id": "123e4567-e89b-12d3-a456-426614174001",
"configuration": {
"include_metadata": true,
"max_results": 10
},
"created_at": "2023-01-01T00:00:00Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"is_enabled": true,
"tool_name": "knowledge_base_search",
"tool_type": "built_in",
"updated_at": "2023-01-01T00:00:00Z"
}
]Get tools available from an MCP server.
Args: agent_id: The ID of the agent server_id: The ID of the MCP server user_id: The user ID of the current user organization_id: The organization ID of the current user
Returns: List of available tools
Raises: HTTPException: If server not found or access denied
curl --request GET \
--url https://agent-studio.thena.ai/api/v1/mcp/agents/{agent_id}/servers/{server_id}/tools \
--header 'x-api-key: <api-key>'[
{
"agent_id": "123e4567-e89b-12d3-a456-426614174001",
"configuration": {
"include_metadata": true,
"max_results": 10
},
"created_at": "2023-01-01T00:00:00Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"is_enabled": true,
"tool_name": "knowledge_base_search",
"tool_type": "built_in",
"updated_at": "2023-01-01T00:00:00Z"
}
]Successful Response
Name of the tool
Type of tool: 'built_in', 'mcp_server', 'external_tool'
Unique identifier for the agent tool
ID of the agent this tool belongs to
When the tool was configured
When the tool was last updated
Tool-specific configuration settings
Whether the tool is enabled
ID of the MCP server (if tool_type is 'mcp_server')
ID of the external tool connection (if tool_type is 'external_tool')