set_prediction_gate
Switch the prediction gate on or off for one agent. Required: agent_id, enabled. When on, any tool that CHANGES something is refused until the agent has logged an open episode with a prediction and a confidence; reading, ask_human and the recording tools stay free, and an open episode expires after an hour. Off by default — turn it on for one agent first and look at whether the predictions are worth anything before making it the rule.
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": {
"agent_id": "<agent_id>",
"enabled": "<enabled>"
},
"name": "set_prediction_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Whether it is enabled | |
| agent_id | Yes | ID of the agent |