{"ok":true,"site":{"host":"alibaba.github.io","url":"https://alibaba.github.io/webmcp-nexus/","type":"live","desc":"demo","tools":[{"name":"navigate","kind":"act","impl":"imperative","description":"[作用域：全局] 在应用内跳转路由（/ 画板页，/todos 待办页，/editor 编辑器页）。","title":"navigate","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"to":{"type":"string","description":"目标路径：/ 或 /todos 或 /editor"}},"required":["to"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/","/webmcp-nexus/todos","/webmcp-nexus/editor","/webmcp-nexus/form"]},{"name":"getCanvasInfo","kind":"answer","impl":"imperative","description":"[作用域：画板页] 获取当前画布尺寸信息和图形数量（用于 Agent 了解画布状态）。","title":"getCanvasInfo","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"getCanvasSize","kind":"answer","impl":"imperative","description":"[作用域：画板页] 获取当前画布的像素尺寸（宽×高），Agent 可据此计算合理坐标。","title":"getCanvasSize","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"getCanvasShapes","kind":"answer","impl":"imperative","description":"[作用域：画板页] 获取当前画布上的所有图形列表。","title":"getCanvasShapes","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"getCanvasSnapshot","kind":"answer","impl":"imperative","description":"[作用域：画板页] 获取当前画布的位图快照（base64 dataURL），供多模态 Agent 视觉理解画布内容（含用户手绘）。","title":"getCanvasSnapshot","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"format":{"type":"string","description":"输出格式（默认 png）","enum":["png","jpeg"]},"maxWidth":{"type":"number","description":"输出最大宽度（像素），超过则等比缩放，默认 1024，避免 token 爆炸"},"quality":{"type":"number","description":"jpeg 质量 0-1，默认 0.85，仅在 format=jpeg 时生效"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"drawFreehand","kind":"act","impl":"imperative","description":"[作用域：画板页] 在画布上绘制一条自由线条。","title":"drawFreehand","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"points":{"type":"array","description":"点坐标数组 [{x, y}, ...]","items":{"type":"object"}},"color":{"type":"string","description":"颜色（默认 #1a1a1a）"},"lineWidth":{"type":"number","description":"线宽（默认 2）"}},"required":["points"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"drawLine","kind":"act","impl":"imperative","description":"[作用域：画板页] 在画布上绘制一条直线。可多次调用绘制首尾相连的线段来构成折线或多边形。","title":"drawLine","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"x1":{"type":"number","description":"起点 X 坐标"},"y1":{"type":"number","description":"起点 Y 坐标"},"x2":{"type":"number","description":"终点 X 坐标"},"y2":{"type":"number","description":"终点 Y 坐标"},"color":{"type":"string","description":"颜色（默认 #1a1a1a）"},"lineWidth":{"type":"number","description":"线宽（默认 2）"}},"required":["x1","y1","x2","y2"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"drawRect","kind":"act","impl":"imperative","description":"[作用域：画板页] 在画布上绘制一个矩形。","title":"drawRect","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"x":{"type":"number","description":"左上角 X 坐标"},"y":{"type":"number","description":"左上角 Y 坐标"},"width":{"type":"number","description":"宽度"},"height":{"type":"number","description":"高度"},"color":{"type":"string","description":"描边颜色（默认 #1a1a1a）"},"fill":{"type":"string","description":"填充颜色（不传则不填充）"},"lineWidth":{"type":"number","description":"线宽（默认 2）"}},"required":["x","y","width","height"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"drawCircle","kind":"act","impl":"imperative","description":"[作用域：画板页] 在画布上绘制一个圆形。","title":"drawCircle","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"cx":{"type":"number","description":"圆心 X 坐标"},"cy":{"type":"number","description":"圆心 Y 坐标"},"radius":{"type":"number","description":"半径"},"color":{"type":"string","description":"描边颜色（默认 #1a1a1a）"},"fill":{"type":"string","description":"填充颜色（不传则不填充）"},"lineWidth":{"type":"number","description":"线宽（默认 2）"}},"required":["cx","cy","radius"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"drawEllipse","kind":"act","impl":"imperative","description":"[作用域：画板页] 在画布上绘制一个椭圆。","title":"drawEllipse","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"cx":{"type":"number","description":"中心 X 坐标"},"cy":{"type":"number","description":"中心 Y 坐标"},"rx":{"type":"number","description":"水平半轴"},"ry":{"type":"number","description":"垂直半轴"},"color":{"type":"string","description":"描边颜色（默认 #1a1a1a）"},"fill":{"type":"string","description":"填充颜色（不传则不填充）"},"lineWidth":{"type":"number","description":"线宽（默认 2）"}},"required":["cx","cy","rx","ry"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"drawText","kind":"act","impl":"imperative","description":"[作用域：画板页] 在画布上绘制文字。","title":"drawText","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"x":{"type":"number","description":"文字左下角 X 坐标"},"y":{"type":"number","description":"文字左下角 Y 坐标"},"text":{"type":"string","description":"文字内容"},"color":{"type":"string","description":"颜色（默认 #1a1a1a）"},"fontSize":{"type":"number","description":"字号（默认 16）"},"bold":{"type":"boolean","description":"是否加粗（默认 false）"},"italic":{"type":"boolean","description":"是否斜体（默认 false）"},"align":{"type":"string","description":"水平对齐（默认 left）","enum":["left","center","right"]},"width":{"type":"number","description":"文字框宽度，超出自动换行（默认不限制，但设了 align 为中/右时建议传入）"}},"required":["x","y","text"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"moveShape","kind":"act","impl":"imperative","description":"[作用域：画板页] 移动画布上的一个图形。","title":"moveShape","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"图形 ID"},"dx":{"type":"number","description":"X 方向偏移量"},"dy":{"type":"number","description":"Y 方向偏移量"}},"required":["id","dx","dy"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"deleteShape","kind":"transact","impl":"imperative","description":"[作用域：画板页] 删除画布上指定 ID 的图形。","title":"deleteShape","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"要删除的图形 ID"}},"required":["id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"updateShapeStyle","kind":"act","impl":"imperative","description":"[作用域：画板页] 修改画布上指定图形的样式（颜色、线宽、填充、字号、加粗/斜体/对齐）。不修改几何属性（坐标/尺寸）。","title":"updateShapeStyle","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"图形 ID"},"color":{"type":"string","description":"描边/文字颜色"},"lineWidth":{"type":"number","description":"线宽"},"fill":{"type":"string","description":"填充颜色（传 null 清除填充）"},"fontSize":{"type":"number","description":"字号（仅对 text 类型有效）"},"bold":{"type":"boolean","description":"加粗（仅对 text 类型有效）"},"italic":{"type":"boolean","description":"斜体（仅对 text 类型有效）"},"align":{"type":"string","description":"对齐方式（仅对 text 类型有效）","enum":["left","center","right"]}},"required":["id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"updateText","kind":"act","impl":"imperative","description":"[作用域：画板页] 修改画布上已有文字图形的文本内容。","title":"updateText","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"文字图形 ID"},"text":{"type":"string","description":"新文本内容"}},"required":["id","text"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"reorderShape","kind":"act","impl":"imperative","description":"[作用域：画板页] 调整画布上某个图形的图层顺序（置顶/置底/上移一层/下移一层）。","title":"reorderShape","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"图形 ID"},"action":{"type":"string","description":"动作：top=置顶，bottom=置底，forward=上移一层，backward=下移一层","enum":["top","bottom","forward","backward"]}},"required":["id","action"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"undo","kind":"act","impl":"imperative","description":"[作用域：画板页] 撤销最后一个图形。被撤销的图形会进入重做栈，可通过 redo 恢复。","title":"undo","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"redo","kind":"act","impl":"imperative","description":"[作用域：画板页] 重做上一次被撤销的图形（仅限 undo 后未发生其它修改时有效，任何新动作都会清空重做栈）。","title":"redo","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"clearCanvas","kind":"act","impl":"imperative","description":"[作用域：画板页] 清空画布上所有图形。","title":"clearCanvas","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"exportCanvas","kind":"act","impl":"imperative","description":"[作用域：画板页] 将当前画布导出为图片并触发浏览器下载到本地。默认使用原始分辨率（保留 dpr 倍图）。","title":"exportCanvas","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"format":{"type":"string","description":"导出格式（默认 png）","enum":["png","jpeg"]},"filename":{"type":"string","description":"下载文件名（不包含扩展名，默认 canvas-{时间戳}）"},"maxWidth":{"type":"number","description":"输出最大宽度（像素），超过则等比缩放，不传则保留原始分辨率"},"quality":{"type":"number","description":"jpeg 质量 0-1，默认 0.92，仅在 format=jpeg 时生效"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/","pages":["/webmcp-nexus/"]},{"name":"listTodos","kind":"answer","impl":"imperative","description":"[作用域：待办页] 列出全部待办（不过滤，可指定数量上限）。","title":"listTodos","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"返回数量上限（默认 200）"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"getTodo","kind":"answer","impl":"imperative","description":"[作用域：待办页] 根据 ID 读取单条待办详情。","title":"getTodo","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"待办 ID"}},"required":["id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"searchTodos","kind":"answer","impl":"imperative","description":"[作用域：待办页] 搜索待办（关键词匹配标题与描述，可叠加优先级/状态过滤）。","title":"searchTodos","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"关键词（匹配标题与描述）"},"priorities":{"type":"array","description":"优先级过滤"},"statuses":{"type":"array","description":"状态过滤"},"limit":{"type":"number","description":"返回数量上限（默认 50）"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"getTodoStats","kind":"answer","impl":"imperative","description":"[作用域：待办页] 读取待办统计（总数/各状态数/逾期数）。","title":"getTodoStats","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"createTodo","kind":"act","impl":"imperative","description":"[作用域：待办页] 创建一条新待办。","title":"createTodo","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"title":{"type":"string","description":"待办标题"},"description":{"type":"string","description":"待办描述"},"priority":{"type":"string","description":"优先级","enum":["low","medium","high","urgent"]},"status":{"type":"string","description":"初始状态","enum":["todo","in_progress","done"]},"dueDate":{"type":"string","description":"截止时间 YYYY-MM-DDTHH:mm"}},"required":["title"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"updateTodo","kind":"act","impl":"imperative","description":"[作用域：待办页] 更新一条待办的字段。","title":"updateTodo","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"待办 ID"},"title":{"type":"string","description":"新标题"},"description":{"type":"string","description":"新描述"},"priority":{"type":"string","description":"新优先级","enum":["low","medium","high","urgent"]},"status":{"type":"string","description":"新状态","enum":["todo","in_progress","done"]},"dueDate":{"type":"string","description":"新截止时间 YYYY-MM-DDTHH:mm，传 null 清除"}},"required":["id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"deleteTodo","kind":"transact","impl":"imperative","description":"[作用域：待办页] 删除一条待办。","title":"deleteTodo","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"待办 ID"}},"required":["id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"deleteTodos","kind":"transact","impl":"imperative","description":"[作用域：待办页] 批量删除待办。","title":"deleteTodos","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"ids":{"type":"array","description":"待办 ID 列表","items":{"type":"string"}}},"required":["ids"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"setTodoStatus","kind":"act","impl":"imperative","description":"[作用域：待办页] 设置待办状态。","title":"setTodoStatus","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"待办 ID"},"status":{"type":"string","description":"新状态","enum":["todo","in_progress","done"]}},"required":["id","status"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"bulkSetTodoStatus","kind":"act","impl":"imperative","description":"[作用域：待办页] 批量设置待办状态。","title":"bulkSetTodoStatus","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"ids":{"type":"array","description":"待办 ID 列表","items":{"type":"string"}},"status":{"type":"string","description":"新状态","enum":["todo","in_progress","done"]}},"required":["ids","status"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"setTodoPriority","kind":"act","impl":"imperative","description":"[作用域：待办页] 设置待办优先级。","title":"setTodoPriority","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"待办 ID"},"priority":{"type":"string","description":"新优先级","enum":["low","medium","high","urgent"]}},"required":["id","priority"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"setTodoDueDate","kind":"act","impl":"imperative","description":"[作用域：待办页] 设置待办截止时间。","title":"setTodoDueDate","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"待办 ID"},"dueDate":{"type":"string","description":"截止时间 YYYY-MM-DDTHH:mm，或 null 清除"}},"required":["id","dueDate"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/todos","pages":["/webmcp-nexus/todos"]},{"name":"getDocumentContent","kind":"answer","impl":"imperative","description":"[作用域：编辑器页] 获取当前文档内容。","title":"getDocumentContent","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"format":{"type":"string","description":"输出格式：json | html | text（默认 json）","enum":["json","html","text"]}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"getDocumentStats","kind":"answer","impl":"imperative","description":"[作用域：编辑器页] 获取文档统计信息（字数、字符数等）。","title":"getDocumentStats","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"getDocumentOutline","kind":"answer","impl":"imperative","description":"[作用域：编辑器页] 获取文档标题大纲（所有标题列表）。","title":"getDocumentOutline","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"insertText","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 在文档末尾插入纯文本。","title":"insertText","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"text":{"type":"string","description":"要插入的文本内容"}},"required":["text"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"insertHeading","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 在文档末尾插入一个标题。","title":"insertHeading","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"text":{"type":"string","description":"标题文本"},"level":{"type":"number","description":"标题级别 1-6（默认 2）"}},"required":["text"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"insertParagraph","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 在文档末尾插入一个段落。","title":"insertParagraph","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"text":{"type":"string","description":"段落文本"},"alignment":{"type":"string","description":"对齐方式（默认 left）","enum":["left","center","right"]}},"required":["text"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"insertCodeBlock","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 在文档末尾插入一个代码块。","title":"insertCodeBlock","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"代码内容"},"language":{"type":"string","description":"编程语言（如 typescript、python）"}},"required":["code"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"insertBlockquote","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 在文档末尾插入一个引用块。","title":"insertBlockquote","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"text":{"type":"string","description":"引用文本"}},"required":["text"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"insertList","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 在文档末尾插入一个列表。","title":"insertList","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"items":{"type":"array","description":"列表项内容数组","items":{"type":"string"}},"type":{"type":"string","description":"列表类型：bullet 无序 / ordered 有序（默认 bullet）","enum":["bullet","ordered"]}},"required":["items"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"insertHorizontalRule","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 在文档末尾插入一条水平分割线。","title":"insertHorizontalRule","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"insertLink","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 在文档末尾插入一个超链接。","title":"insertLink","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"text":{"type":"string","description":"链接显示文本"},"href":{"type":"string","description":"链接 URL"}},"required":["text","href"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"removeLink","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 移除当前选中文本或光标所在位置的链接。","title":"removeLink","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"toggleFormat","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 对当前选中文本切换格式（加粗/斜体/下划线/删除线/代码）。","title":"toggleFormat","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"format":{"type":"string","description":"格式类型","enum":["bold","italic","underline","strike","code"]}},"required":["format"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"setTextAlign","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 设置当前块的文本对齐方式。","title":"setTextAlign","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"alignment":{"type":"string","description":"对齐方式","enum":["left","center","right"]}},"required":["alignment"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"setHeadingLevel","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 将当前块转换为指定标题级别。","title":"setHeadingLevel","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"level":{"type":"number","description":"标题级别 1-6，传 0 则转回普通段落"}},"required":["level"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"setBlockType","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 将当前块转换为指定类型（段落/引用/代码块）。","title":"setBlockType","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"type":{"type":"string","description":"块类型","enum":["paragraph","blockquote","codeBlock"]}},"required":["type"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"toggleList","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 将当前块切换为列表（无序或有序），再次调用可取消列表。","title":"toggleList","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"type":{"type":"string","description":"列表类型：bullet 无序 / ordered 有序","enum":["bullet","ordered"]}},"required":["type"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"replaceText","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 查找并替换文档中的文本。","title":"replaceText","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"要查找的文本"},"replace":{"type":"string","description":"替换为的文本"},"replaceAll":{"type":"boolean","description":"是否替换全部（默认只替换第一个）"}},"required":["search","replace"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"clearDocument","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 清空文档内容。","title":"clearDocument","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"setDocumentContent","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 用 HTML 或 JSON 内容替换整个文档。","title":"setDocumentContent","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"content":{"type":"string","description":"文档内容"},"format":{"type":"string","description":"内容格式：html 或 json（默认 html）","enum":["json","html"]}},"required":["content"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"undo","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 撤销上一步操作。","title":"undo","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"redo","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 重做上一步撤销的操作。","title":"redo","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"setDocumentTitle","kind":"act","impl":"imperative","description":"[作用域：编辑器页] 设置文档标题。","title":"setDocumentTitle","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"title":{"type":"string","description":"新标题"}},"required":["title"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/editor","pages":["/webmcp-nexus/editor"]},{"name":"getFormData","kind":"answer","impl":"imperative","description":"[作用域：表单页] 获取当前表单各字段的值。","title":"getFormData","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/form","pages":["/webmcp-nexus/form"]},{"name":"getSubmissions","kind":"answer","impl":"imperative","description":"[作用域：表单页] 获取已提交的历史记录列表。","title":"getSubmissions","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"返回数量上限（默认 50）"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/form","pages":["/webmcp-nexus/form"]},{"name":"fillForm","kind":"act","impl":"imperative","description":"[作用域：表单页] 填充表单字段。","title":"fillForm","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"姓名"},"email":{"type":"string","description":"邮箱"},"message":{"type":"string","description":"留言内容"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/form","pages":["/webmcp-nexus/form"]},{"name":"submitForm","kind":"transact","impl":"imperative","description":"[作用域：表单页] 提交当前表单内容到历史记录。","title":"submitForm","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/form","pages":["/webmcp-nexus/form"]},{"name":"clearForm","kind":"act","impl":"imperative","description":"[作用域：表单页] 清空表单所有字段。","title":"clearForm","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/webmcp-nexus/form","pages":["/webmcp-nexus/form"]}],"category":"Developer Tools","apiSurface":"spec","toolCount":60}}