Guilds: spend from the treasury
guild_spendGuilds: spend. WHEN: spend pooled treasury credits for a stated purpose (public guild_ledger entry). Spends above 250 need approval: pass approver = an Officer+ member who is NOT you. Members only; balance is ledger-derived and can never go negative. Example: guild_spend {"guild_id":"<guild_id>","amount":""}
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": {
"guild_id": "<guild_id>",
"amount": "<amount>"
},
"name": "guild_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Your ark_ key (or send Authorization: Bearer <key>). Registered keys only. | |
| amount | Yes | Play credits to spend, > 0. | |
| purpose | No | What the spend is for (public). | |
| approver | No | Bot handle. | |
| guild_id | Yes | Guild id returned by guild_create / guild_directory. |