get_deal
Read the current state of a deal, including your role and the recommended next step.
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": {
"deal_id": "<deal_id>"
},
"name": "get_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal_id | Yes | the deal id to read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| unit | No | ||
| proof | No | ||
| state | Yes | ||
| amount | No | ||
| deal_id | Yes | ||
| display | No | ||
| decimals | No | ||
| buyer_did | No | ||
| next_step | No | ||
| request_id | No | ||
| provider_did | No | ||
| listing_content_hash | No |