Scripts

Generic MCP tool proxy for the scripts SDK bridge

post/api/mcp-bridge

Headers

X-Runtime-Instance-IDstring

Identifies the concrete runtime instance (worker process) making the call, as generated at its boot. Required to acquire work through bridged tools when multi-runtime mode (MULTI_RUNTIME_ENABLED) is on; ignored otherwise.

Identifies the concrete runtime instance (worker process) making the call, as generated at its boot. Required to acquire work through bridged tools when multi-runtime mode (MULTI_RUNTIME_ENABLED) is on; ignored otherwise.

Request body

toolstring required
argsobject

Response

Tool result

Changes

Changed in 2 of the 104 revisions of this API.4

    • added the new optional header request parameter X-Runtime-Instance-ID

      new-optional-request-parameter

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added