invariance_monitor_preview_target
Dry-run a monitor target against history to see which runs and nodes it would inspect. Returns IDs and counts, writes nothing.
Instructions
Dry-run a monitor target against history to see which runs/nodes it would inspect. Writes nothing. Returns {run_ids, node_ids, counts:{runs,nodes}, truncated}.
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": {
"body": "<body>"
},
"name": "invariance_monitor_preview_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON object string with one of {target} or {monitor_id}, plus optional sample_limit. target shape matches create: {"kind":"current_run"} | {"kind":"specific_run","run_id":"run_..."} | {"kind":"agent_history","filters":[...]}. Example: {"target":{"kind":"agent_history","filters":[{"field":"environment","operator":"eq","value":"prod"}]},"sample_limit":100} |