DEBYKO Agent state
agent_stateThe state of the account's Agent rules, polled: per rule state (true, false or unknown, with a reason when it is unknown), previous_state (what this key was told the last time it asked about the rule, null the first time), evaluated_at and effective_interval, and what Agent states of it: label, enabled, channels, last_fired_at and, when DEBYKO paused it, paused_reason; the top-level agent is on or stopped. rule_id narrows to those rules (UUIDs, comma separated); leave it out for every rule of the account. fresh=true evaluates the rules now instead of reading the last scheduled evaluation, and is charged against the plan's evaluations/day budget. Counts as one request on your key.
Use this when the user asks for their DEBYKO rules, alerts, signals, active conditions or when a rule last fired (also: правила, алерты, сигналы, moi pravila); for the saved DQL of one rule use agent_rule_get.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "agent_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Evaluate the rules now. Charged against the plan's evaluations/day budget. | |
| rule_id | No | Rule ids (UUIDs), comma separated, to ask about; they must all be the account's. Omit for every rule of the account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| items | No | ||
| evaluations | No |