Call a hosted tool by name
Dispatches a tools/call against the SAME tool registry the hosted MCP server (/mcp) and the self-contained stdio server (@bankstatemently/mcp) serve — the generic surface a local/offline MCP client uses to reach every hosted tool without a bespoke per-tool REST endpoint. Returns the tool's result verbatim: content, structuredContent, isError, _meta. HTTP 200 whether the tool itself succeeded or failed — MCP tool failures are results, never a distinct HTTP status. Rate limit: 60 requests per minute.
Request
- Base URL: https://api.bankstatemently.com/v1
- URL: https://api.bankstatemently.com/v1/tools/{name}
- Auth: API key in header X-API-Key
Path parameters
Tool name, exactly as served by the hosted MCP server's tools/list (e.g. convert_statement, get_credits, list_transactions).
Request body
The named tool's own arguments, exactly as documented by tools/list's per-tool inputSchema. No fixed shape is declared here — every tool has a different one.
Response
The tool's CallToolResult, unwrapped by no one.
Changes
No recorded changes to this operation across all 1 revision of this API.