load-routines
Load and execute pre-configured routines by stitching together actions from MCP tools, enabling efficient automation and custom workflows on the fly.
Instructions
Load routines
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": "load-routines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:57-73 (registration)Registration of the 'load-routines' MCP tool, including empty input schema, description, and inline handler function.
server.tool( "load-routines", "Load routines", {}, async () => { const routines = await loadRoutines(routineFilename) return { content: [ { type: "text", text: JSON.stringify(routines, null, 2) } ] } } ) - src/index.ts:61-72 (handler)The handler function for the 'load-routines' tool. It loads the routines from the JSON file using the imported loadRoutines function and returns them formatted as a JSON string in the tool response.
async () => { const routines = await loadRoutines(routineFilename) return { content: [ { type: "text", text: JSON.stringify(routines, null, 2) } ] } } - src/index.ts:60-60 (schema)Input schema for the 'load-routines' tool, which accepts no parameters (empty object).
{},