v3
latestOpenAPI 3.0.02026-08-081996601.2 MBTool Servers
Create tool server
Creates a tool server that exposes tools for use by agents.
post/v2/tool_servers
Headers
Request-Timeoutinteger
The platform makes a best effort to complete the request in the specified seconds, or it times out.
Request-Timeout-Millisinteger
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Request body
Example request
{
"name": "RAG Search Server",
"type": "mcp",
"description": "Provides RAG search capabilities for documents.",
"uri": "https://api.example.com/rag_search",
"transport": "sse",
"auth": {
"type": "bearer",
"token": "abcdef......"
}
}Response
The created tool server details.
Example response
{
"id": "tsr_rag_search",
"name": "RAG Search Server",
"type": "mcp",
"description": "Provides RAG search capabilities for documents.",
"uri": "https://api.example.com/sse/",
"headers": {
"Content-Type": "application/json"
},
"transport": "sse",
"metadata": {
"version": "1.0"
}
}