agentcheck_add_check
Add a check to one of your targets. A check runs an input (http path/prompt, mcp tool call, a2a message) on a schedule and judges the answer with a golden: exact, contains, regex and json_schema cost nothing; rubric and baseline use the LLM judge (baseline = same outcome as the last known-good answer). Returns the check id. Requires an API key.
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": {
"name": "<name>",
"kind": "<kind>",
"golden": "<golden>",
"targetId": "<targetId>"
},
"name": "agentcheck_add_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | what to run: http (GET path or POST prompt), mcp_tools_list, mcp_tool_call (tool + args), a2a_task (message) | |
| name | Yes | short name shown on the status page | |
| input | No | http: { path?, method?, body?, prompt? } · mcp_tool_call: { tool, args } · a2a_task: { message } | |
| golden | Yes | how the answer is judged. exact / contains / regex / json_schema are free and deterministic; rubric and baseline call the LLM judge, and baseline compares against the last known-good answer. | |
| targetId | Yes | id from agentcheck_create_target or GET /api/v1/targets | |
| intervalSec | No | seconds between runs; the tier's interval is the floor (Free hourly, Starter+ 5 min) |