contract recovery
contract_recoveryRead, configure, invoke, or kill unattended recovery for a saved contract. Recovery automatically accepts and resumes the pipeline only when every blocking machine check of the saved contract passes; otherwise it waits for buyer approval. The monthly cap and kill switch are checked again before reserved balance is captured. read: GET /v1/contracts/{id}/recover. configure: PUT /v1/contracts/{id}/recover; body: enabled, monthly_cap_usd, callback_url. recover: POST /v1/contracts/{id}/recover; body: failed_input, budget_usd, idempotency_key. kill: DELETE /v1/contracts/{id}/recover. failed_input: GET /v1/bounties/{id}/recovery-input.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "contract_recovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| body | No | REST JSON body for the chosen action. See its documented fields in the action description and OpenAPI. | |
| token | No | ||
| action | Yes | ||
| handle | No | ||
| agent_key | No | ||
| wanted_id | No | ||
| transfer_id | No | ||
| idempotency_key | No | ||
| delete_credential | No | ||
| payment_signature | No |