Call a tool
Executes a tool on the server and returns the MCP CallToolResult plus an additive durationMs (wall-clock time of executeTool). Tool-level failures (isError: true in the result) are successful calls — the server answered; only transport/auth errors use the error envelope.
Authorizations
MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.
Path Parameters
ID of the hosted project that contains the server.
ID of the server inside the project.
Body
Response
The MCP CallToolResult plus additive durationMs. Check isError for tool-level failures.
MCP tool execution result, returned verbatim from the server, plus additive durationMs measured at the public API boundary.
Content blocks (text, image, resource, ...).
Structured output matching the tool's outputSchema, when declared.
true when the tool reported a failure. The HTTP call still succeeds — the server answered.
Wall-clock milliseconds spent in executeTool on this request. Additive MCPJam field; not part of the MCP CallToolResult spec. A server that already returns its own top-level durationMs keeps it — MCPJam never overwrites the field — so this value is MCPJam's measurement only when the server did not report one.
x >= 0
