set_card_preset
Update a card's preset. Pass a template name (ai_labs, weekday_meals, cli_only, daily), a saved preset name (from list_presets), a comma-separated template list, or inline JSON / { name, privileges }. Pass null or "" to clear the card's preset (Agentcard-side checks stop; any limit already on the card network stays). Edits create a new version. The response reports what was applied on Agentcard vs what was updated on the card's spend limit, and whether the change needs a new card.
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": {
"card_id": "<card_id>",
"preset": "<preset>"
},
"name": "set_card_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | Yes | Template name (ai_labs, weekday_meals, cli_only, daily), comma-separated templates, inline JSON privileges, or { name?, privileges }. Pass null or "" with card_id to clear that card's preset. | |
| card_id | Yes | The card id (from list_cards). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | ||
| pushed | No | ||
| message | Yes | ||
| summary | No | ||
| messages | No | ||
| policyId | No | ||
| needsNewCard | No | ||
| agentcardOnly | No | ||
| policyVersion | No |