routine_route_list
Retrieve and filter routes linked to an Edge Routine (ER) using the ESA MCP Server. Specify the routine name, route name, page number, and page size to manage and organize route listings efficiently.
Instructions
List all routes associated with a specific Edge Routine (ER).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageNumber | No | The page number of the routes | |
| pageSize | No | The page size of the routes | |
| routeName | No | The name of the route, use to filter list results | |
| routineName | Yes | The name of the routine |
Implementation Reference
- src/tools/er/route.ts:298-306 (handler)The handler function that implements the core logic of the 'routine_route_list' tool by invoking the API to list routine routes based on the provided arguments and returning the result in the expected format.export const routine_route_list = async (request: CallToolRequest) => { const res = await api.listRoutineRoutes( request.params.arguments as ListRoutineRoutesRequest, ); return { content: [{ type: 'text', text: JSON.stringify(res) }], success: true, }; };
- src/tools/er/route.ts:168-194 (registration)The registration of the tool including its name, description, and input schema definition.export const ROUTINE_ROUTE_LIST_TOOL: Tool = { name: 'routine_route_list', description: 'List all routes associated with a specific Edge Routine (ER).', inputSchema: { type: 'object', properties: { routineName: { type: 'string', description: 'The name of the routine', }, routeName: { type: 'string', description: 'The name of the route, use to filter list results', }, pageNumber: { type: 'number', description: 'The page number of the routes', }, pageSize: { type: 'number', description: 'The page size of the routes', }, }, required: ['routineName'], }, };
- src/tools/list-esa-function.ts:175-175 (registration)Registration of the routine_route_list handler in the esaHandlers object, mapping tool names to their handler functions.routine_route_list,
- src/tools/list-esa-function.ts:111-111 (registration)Inclusion of ROUTINE_ROUTE_LIST_TOOL in the ESA_OPENAPI_ER_LIST array for top-level tool registration.ROUTINE_ROUTE_LIST_TOOL,