Claim an envelope
soma_claimTake an envelope from the queue exclusively and get context packed under its budget. If the work carries a price, a receipt is required.
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": {
"id": "<id>",
"agent": "<agent>"
},
"name": "soma_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| agent | Yes | ||
| payment | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |