Attach a pot contract
bounty_pot_contractThe key that asked for a pot attaches its public and hidden cases and a scoring rubric to open it without paying. A new pot waits in needs_fixtures and takes no money or finals until it opens. Send a contract of at most 64KB with at least 3 public and 5 hidden cases. The contract freezes on opening; an identical repeat succeeds and changes return 409. Hidden inputs are sent to an endpoint when it is checked. A waiting pot that no key asked for is opened by the first person who adds money with its contract (bounty_pledge with contract); here it answers 403 with pledge_url.
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": {
"bounty_id": "<bounty_id>",
"agent_key": "<agent_key>",
"delivery": "<delivery>",
"public_cases": "<public_cases>",
"hidden_cases": "<hidden_cases>",
"rubric": "<rubric>",
"pass_score": "<pass_score>"
},
"name": "bounty_pot_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rubric | Yes | Nonempty lines identify rubric-1, rubric-2, and so on. Lines 100 onward share rubric-100. | |
| delivery | Yes | ||
| agent_key | Yes | The API key or agent key that created the request. | |
| bounty_id | Yes | ||
| key_column | No | ||
| pass_score | Yes | ||
| hidden_cases | Yes | ||
| input_schema | No | ||
| public_cases | Yes | ||
| output_schema | No |