ApiSdk proxy
Sdk Search Tools
Search tools via the SDK. Delegates to the shared ``search_tools`` function. If the token has scoped ``allowed_tools``, results are post-filtered to only include those tools.
Authorization
User API Key AuthorizationBearer <token>
User API key (mgw_usr_live_* or mgw_usr_test_*)
In: header
Cookie Parameters
access_token?|
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/sdk/tools/search" \ -H "Content-Type: application/json" \ -d '{ "query": "string" }'{
"tools": [
{}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Sdk Execute Tool
Execute a tool via the SDK. Validates that the requested tool is in the scoped token's ``allowed_tools`` list (stored in ``api_key.scopes``), resolves the prefixed name to a server + tool, and delegates to the shared ``execute_tool`` function.
Cleanup expired OAuth states
Admin endpoint to clean up expired OAuth states. Typically called by a scheduled job. Requires admin privileges.
