RoutineKit

v0.2.0
io.github.sjh9714/routinekit Checked 3 days ago Published 3 months ago

Capture tool workflows, save typed tools, and replay with human approval.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

routine_list

List saved routines and current capture/replay state. No execution.

routine_tools

List available tool contracts. WebMCP tools need routine_web_open first. Record names exactly as returned.

routine_record

Begin opt-in, task-local capture of a successful linear workflow. Inputs are exact example argument values, not a natural-language goal. Human approval is required.

ParameterTypeDescription
inputs_json *stringJSON object of named example scalar inputs, e.g. {"category":"notes"}.
name *string
tools *array

routine_preview

Preview the executable routine without saving. Use checks to verify task success, not just output shape.

ParameterTypeDescription
checks_jsonstringOptional JSON array: [{"step":"step_2","path":"/opened","equals":true}] or a check with "input":"category".

routine_save

Show the exact routine to the user, then save only if approved. Set expose to make this a named tool with typed inputs. Does not replay.

ParameterTypeDescription
checks_jsonstring
exposeboolean

routine_discard

Discard the current in-memory recording. Saved routines are preserved.

routine_inspect

Read one saved routine, including its inputs, origin contracts, bindings, and success checks.

ParameterTypeDescription
name *string

routine_import

Review and import portable routine JSON into local storage. Requires human approval. Never overwrites an existing routine.

ParameterTypeDescription
routine_json *string

routine_run

Replay a reviewed routine with new input values, using live tools and existing host permissions. Requires fresh human approval; stop on mismatch. The replay engine makes no model calls.

ParameterTypeDescription
inputs_json *string
name *string

routine_stop

Cancel the active replay and close only RoutineKit's isolated browser. Already completed side effects are not rolled back.

routine_web_open

Ask permission to open a WebMCP origin in a blank isolated browser. No existing login profile, screen-scraping fallback, or cross-origin requests.

ParameterTypeDescription
url *string

routine_web_call

Execute one discovered WebMCP tool after human approval. Selected calls are captured by an active recording. Tool hints are not safety guarantees.

ParameterTypeDescription
arguments_json *string
name *stringExact webmcp: tool name from routine_tools.

routine_mcp_connect

Review and start one explicitly configured local MCP server. No automatic software installation, existing host configuration import, or credential transfer.

ParameterTypeDescription
server *string

routine_mcp_call

Call one allowlisted connected MCP tool with human approval. Selected successful calls are recorded.

ParameterTypeDescription
arguments_json *string
name *stringExact mcp:alias:tool name from routine_tools.

routine_export

Export one saved routine as a ZIP containing SKILL.md and routine.json. Recheck private literals before sharing. No credentials or permissions are bundled.

ParameterTypeDescription
name *string

routine_workbench

Open the RoutineKit capture/replay workbench inside a compatible MCP Apps host. Human form elicitation is required for mutations.