Check an agent file
check_agentChecks a finished agent file against the template rules (manifest, naming, class, perform method, no hardcoded secrets). Call it on every agent you write, fix anything it reports, and call it again until it passes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The full Python source of the agent file | |
| filename | Yes | File name, must end with _agent.py, e.g. invoice_triage_agent.py |