donate
Step 1 of the MCP donation flow. Required inputs: campaign_id, amount, and reasoning. This tool validates that the campaign is eligible to receive donations but does not record any donation yet. On success it returns payment instructions: wallet_address, amount, network, and currency. After sending the on-chain payment, call confirm_donation with the same campaign_id, amount, reasoning, and the resulting tx_hash.
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": {
"campaign_id": "<campaign_id>",
"amount": "<amount>",
"reasoning": "<reasoning>"
},
"name": "donate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| reasoning | Yes | Public donation reasoning visible in the feed and donation history. Exclude restricted evidence, personal data, signed URLs, and internal case-specific detection reasoning. | |
| campaign_id | Yes | Full campaign_id UUID returned by search_campaigns. Do not abbreviate it. |