guard_check_session
Replay an agent's tool-call log through the AgentGuard loop and budget guard and decide whether the next call should run. Catches identical and near-repeat loops (same file, URL or command), re-reads of finished items, failing-tool retry streaks and USD or token caps before spend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| calls | Yes | ||
| config | No | Optional agentguard.json contents |