Create an API tool under a provider
Adds a tool to an existing API provider (must belong to the org and be type=api). MCP tools are auto-discovered and cannot be created here. Reloads the org tools and rebuilds dependent agents.
Authorizations
Org API key (scopes the request to its organization) or the shared trusted key (requires X-Organization-Id on every request).
Headers
Organization to scope the request to. Optional when authenticating with an org API key (the org is taken from the key; if sent, it must match). Required when authenticating with the trusted key.
End-user identity for the request; user-scoped data (threads, memory) resolves to {orgId}_{userId}. Required by endpoints that read or write user-scoped resources. A userId query param (or body field, where documented) is accepted as a fallback.
Body
11GET, POST, PUT, PATCH, DELETE 1000 <= x <= 120000Response
Created
