close_and_mint
Settlement close that mints the outcome receipt into the agent wallet as a condition of SETTLED. First mint free once per agent; then x402 $0.01 (or wallet plan).
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": {
"agent_id": "<agent_id>",
"tx_id": "<tx_id>",
"task_class": "<task_class>",
"counterparty_class": "<counterparty_class>",
"outcome": "<outcome>",
"value_band": "<value_band>",
"source_kind": "<source_kind>"
},
"name": "close_and_mint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_id | Yes | ||
| outcome | Yes | ||
| agent_id | Yes | ||
| task_class | Yes | ||
| value_band | Yes | ||
| source_kind | Yes | ||
| counterparty_class | Yes |