takt_auf_runner
Move a scheduled server agent (trigger_mode server_job, runs via OpenAI) to the tenant's dev-agent runner (Claude subscription). Creates/updates a cron schedule row for the runner (dev_agent_session_schedules, session key takt-<agent_id>, engine claude, cron derived from run_every_minutes within run_from/run_to/run_days, timezone of the agent or Europe/Zurich, a FRESH session per occurrence, prompt = work as this agent per its bootstrap/skills). Before each occurrence the server checks the agent's working window and run_condition; with nothing new the occurrence is skipped and the runner is not woken (runs_skipped counts as for server jobs). Then sets trigger_mode to mcp_client (run-agent-jobs stops scheduling it — no silent fallback to OpenAI; a runner that misses more than two occurrences creates a high-priority todo for the runner owner), turns on automatic handoff processing for the tenant (agent_handoff_settings, at least 5 per hour) so delegate_task to this agent starts on the runner, and records an optimisation (art agent). bedingung: 'scharf' sets the run_condition preset takt_scharf (own open todos, handoffs, open Pipedrive deals, lab results, IK changes since the last run), 'behalten' keeps it; default: scharf when the agent has none. Without ausfuehren:true only the plan is returned and nothing changes. Optional: runner_id, user_id (runner owner; default: found from WhatsApp route / earlier schedules), automatik (default true), grund. Admins (humans) only.
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>"
},
"name": "takt_auf_runner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grund | No | Reason (free text) | |
| user_id | No | ID of the user | |
| agent_id | Yes | ID of the agent | |
| automatik | No | Turn on automatic handoff processing for the tenant; default true | |
| bedingung | No | scharf sets the takt_scharf run condition, behalten keeps the existing one | |
| runner_id | No | ID of the runner | |
| ausfuehren | No | true applies the move; otherwise only the plan is returned |