Agents / MCP

Release agent work order

Release an external coding agent work-order lease without submitting an artifact. Use this when the agent cannot complete the task so another worker can claim it. This does not launch or send anything.

tools/callDeterministic operation

Parameters

workspaceIdOptional · string
Optional with an API key, inferred from the key.
workOrderIdRequired · string
See the input schema for this field.
claimTokenRequired · string
Lease token returned by claim-agent-work-order.
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "release-agent-work-order",
    "arguments": {
      "workOrderId": "00000000-0000-4000-8000-000000000000",
      "claimToken": "00000000-0000-4000-8000-000000000001"
    }
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional with an API key, inferred from the key."
    },
    "workOrderId": {
      "type": "string"
    },
    "claimToken": {
      "type": "string",
      "description": "Lease token returned by claim-agent-work-order."
    }
  },
  "required": [
    "workOrderId",
    "claimToken"
  ]
}
See this operation inCLI REST API TypeScript SDK
Tool directory | Pipeline v2 preview