UNPKG

@cgaspard/webappmcp

Version:

WebApp MCP - Model Context Protocol integration for web applications with server-side debugging tools

76 lines 2.49 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.routingTools = void 0; exports.routingTools = [ { name: 'routing_get_current', description: 'Get the current route information', inputSchema: { type: 'object', properties: { clientId: { type: 'string', description: 'Client ID to get route from (optional, uses first available browser if not specified)', }, }, }, }, { name: 'routing_navigate', description: 'Navigate to a specific route', inputSchema: { type: 'object', properties: { path: { type: 'string', description: 'The route path to navigate to', }, params: { type: 'object', description: 'Route parameters (optional)', }, query: { type: 'object', description: 'Query parameters (optional)', }, clientId: { type: 'string', description: 'Client ID to navigate (optional, uses first available browser if not specified)', }, }, required: ['path'], }, }, { name: 'routing_list_routes', description: 'List all available routes in the application', inputSchema: { type: 'object', properties: { clientId: { type: 'string', description: 'Client ID to list routes from (optional, uses first available browser if not specified)', }, }, }, }, { name: 'routing_get_history', description: 'Get the navigation history', inputSchema: { type: 'object', properties: { limit: { type: 'number', description: 'Maximum number of history entries to return', default: 10, }, clientId: { type: 'string', description: 'Client ID to get history from (optional, uses first available browser if not specified)', }, }, }, }, ]; //# sourceMappingURL=routing.js.map