AgentLedger Recipes
ledger_examplesComplete, runnable Python recipe for a common AgentLedger integration pattern.
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": {
"pattern": "<pattern>"
},
"name": "ledger_examples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | "python_tracking" | "budget_enforcement" | "weekly_report" | "retry_safe_writes" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||