fenbs_routines
Read Routine Processes: the checks, scripts and procedures this work depends on. Each has howToRun (the steps, in order), checks (what to verify afterwards) and ruleRefs (the decisions and rules that govern it, e.g. DEC-049). fenbs keeps how to run it, never the code. Routines due show in the AI context under Waiting on you. action list (project, kind, dueOnly, q), get (ref or id, with recent runs and their measures), get_run (runRef, e.g. RUN-001), list_runs (optional routine ref/id, project, itemRef, q, take, beforeId). References are permanent and board-local. Only reads.
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": {
"action": "<action>"
},
"name": "fenbs_routines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| id | No | ||
| ref | No | RTN reference; numeric id remains supported. If both are supplied they must agree. | |
| kind | No | ||
| take | No | list_runs: 1-100, default 20. | |
| action | Yes | ||
| runRef | No | get_run: RUN reference. | |
| dueOnly | No | ||
| itemRef | No | list_runs: runs linked to this task. | |
| project | No | add/update: the one project it belongs to ("" for none). log_run: the project this run was for -- required on a template. list/list_runs: filter. | |
| beforeId | No | list_runs: nextBeforeId from the preceding page. |