@cgaspard/webappmcp
Version:
WebApp MCP - Model Context Protocol integration for web applications with server-side debugging tools
30 lines • 988 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.executeTools = void 0;
exports.executeTools = [
{
name: 'execute_javascript',
description: 'Execute JavaScript code in the context of the currently connected web application',
inputSchema: {
type: 'object',
properties: {
code: {
type: 'string',
description: 'JavaScript code to execute'
},
returnValue: {
type: 'boolean',
description: 'Whether to return the result of the execution',
default: false
},
async: {
type: 'boolean',
description: 'Whether to execute asynchronously',
default: false
}
},
required: ['code']
}
}
];
//# sourceMappingURL=execute.js.map