fund_need
Quote x402 payment requirements for an existing Need without marking it funded. Use this read-only amount to settle, then record the transaction hash.
Instructions
Return x402-style payment requirements for an existing Need. Read-only quote: does not mark the Need funded and does not broadcast a transaction. After the payer settles, call record_payment with tx_hash. Missing ids return an error.
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": {
"need_id": "<need_id>"
},
"name": "fund_need"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| need_id | Yes | Need id to quote payment requirements for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |