MCP
The same tools as an MCP server over Streamable HTTP, answering with JSON.
POST
/mcpAuthorization
AuthorizationBearer token · headerrequiredA Fieldwork gateway key, issued per agent by the operator. Send it as Authorization: Bearer <key>.
Request body
requiredapplication/jsonobjectResponses
200
A JSON-RPC response.
objectdefault
A refusal or a failed call. Branch on error.code; never parse the message.
errorobjectrequiredShow propertiesHide properties
codestringrequiredAllowed:
AbortedInvalidRequestJobFailedNotAFileNotFoundProviderErrorRateLimitedTimeoutTooLargeUnauthorizedUnsupportedjobIdstringA job that was already started. Pass it as resume instead of repeating the call.
messagestringrequiredproviderstringretryAfternumberSeconds to wait.
retryablebooleanrequiredWhether repeating the same call can succeed.
requestIdstring