gradeNot graded
page: Every page
navigateAction
[作用域:全局] 在应用内跳转路由(/ 画板页,/todos 待办页,/editor 编辑器页)。
View tool JSON
{
"name": "navigate",
"kind": "act",
"impl": "imperative",
"description": "[作用域:全局] 在应用内跳转路由(/ 画板页,/todos 待办页,/editor 编辑器页)。",
"inputSchema": {
"type": "object",
"properties": {
"to": {
"type": "string",
"description": "目标路径:/ 或 /todos 或 /editor"
}
},
"required": [
"to"
]
},
"page": "/webmcp-nexus/"
}page: Webmcp nexus
getCanvasInfoAnswer
[作用域:画板页] 获取当前画布尺寸信息和图形数量(用于 Agent 了解画布状态)。
View tool JSON
{
"name": "getCanvasInfo",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:画板页] 获取当前画布尺寸信息和图形数量(用于 Agent 了解画布状态)。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/"
}getCanvasSizeAnswer
[作用域:画板页] 获取当前画布的像素尺寸(宽×高),Agent 可据此计算合理坐标。
View tool JSON
{
"name": "getCanvasSize",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:画板页] 获取当前画布的像素尺寸(宽×高),Agent 可据此计算合理坐标。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/"
}getCanvasShapesAnswer
[作用域:画板页] 获取当前画布上的所有图形列表。
View tool JSON
{
"name": "getCanvasShapes",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:画板页] 获取当前画布上的所有图形列表。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/"
}getCanvasSnapshotAnswer
[作用域:画板页] 获取当前画布的位图快照(base64 dataURL),供多模态 Agent 视觉理解画布内容(含用户手绘)。
View tool JSON
{
"name": "getCanvasSnapshot",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:画板页] 获取当前画布的位图快照(base64 dataURL),供多模态 Agent 视觉理解画布内容(含用户手绘)。",
"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 时生效"
}
}
},
"page": "/webmcp-nexus/"
}drawFreehandAction
[作用域:画板页] 在画布上绘制一条自由线条。
View tool JSON
{
"name": "drawFreehand",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 在画布上绘制一条自由线条。",
"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"
]
},
"page": "/webmcp-nexus/"
}drawLineAction
[作用域:画板页] 在画布上绘制一条直线。可多次调用绘制首尾相连的线段来构成折线或多边形。
View tool JSON
{
"name": "drawLine",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 在画布上绘制一条直线。可多次调用绘制首尾相连的线段来构成折线或多边形。",
"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"
]
},
"page": "/webmcp-nexus/"
}drawRectAction
[作用域:画板页] 在画布上绘制一个矩形。
View tool JSON
{
"name": "drawRect",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 在画布上绘制一个矩形。",
"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"
]
},
"page": "/webmcp-nexus/"
}drawCircleAction
[作用域:画板页] 在画布上绘制一个圆形。
View tool JSON
{
"name": "drawCircle",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 在画布上绘制一个圆形。",
"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"
]
},
"page": "/webmcp-nexus/"
}drawEllipseAction
[作用域:画板页] 在画布上绘制一个椭圆。
View tool JSON
{
"name": "drawEllipse",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 在画布上绘制一个椭圆。",
"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"
]
},
"page": "/webmcp-nexus/"
}drawTextAction
[作用域:画板页] 在画布上绘制文字。
View tool JSON
{
"name": "drawText",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 在画布上绘制文字。",
"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"
]
},
"page": "/webmcp-nexus/"
}moveShapeAction
[作用域:画板页] 移动画布上的一个图形。
View tool JSON
{
"name": "moveShape",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 移动画布上的一个图形。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "图形 ID"
},
"dx": {
"type": "number",
"description": "X 方向偏移量"
},
"dy": {
"type": "number",
"description": "Y 方向偏移量"
}
},
"required": [
"id",
"dx",
"dy"
]
},
"page": "/webmcp-nexus/"
}deleteShapeSensitive Action
[作用域:画板页] 删除画布上指定 ID 的图形。
View tool JSON
{
"name": "deleteShape",
"kind": "transact",
"impl": "imperative",
"description": "[作用域:画板页] 删除画布上指定 ID 的图形。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "要删除的图形 ID"
}
},
"required": [
"id"
]
},
"page": "/webmcp-nexus/"
}updateShapeStyleAction
[作用域:画板页] 修改画布上指定图形的样式(颜色、线宽、填充、字号、加粗/斜体/对齐)。不修改几何属性(坐标/尺寸)。
View tool JSON
{
"name": "updateShapeStyle",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 修改画布上指定图形的样式(颜色、线宽、填充、字号、加粗/斜体/对齐)。不修改几何属性(坐标/尺寸)。",
"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"
]
},
"page": "/webmcp-nexus/"
}updateTextAction
[作用域:画板页] 修改画布上已有文字图形的文本内容。
View tool JSON
{
"name": "updateText",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 修改画布上已有文字图形的文本内容。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "文字图形 ID"
},
"text": {
"type": "string",
"description": "新文本内容"
}
},
"required": [
"id",
"text"
]
},
"page": "/webmcp-nexus/"
}reorderShapeAction
[作用域:画板页] 调整画布上某个图形的图层顺序(置顶/置底/上移一层/下移一层)。
View tool JSON
{
"name": "reorderShape",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 调整画布上某个图形的图层顺序(置顶/置底/上移一层/下移一层)。",
"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"
]
},
"page": "/webmcp-nexus/"
}undoAction
[作用域:画板页] 撤销最后一个图形。被撤销的图形会进入重做栈,可通过 redo 恢复。
View tool JSON
{
"name": "undo",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 撤销最后一个图形。被撤销的图形会进入重做栈,可通过 redo 恢复。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/"
}redoAction
[作用域:画板页] 重做上一次被撤销的图形(仅限 undo 后未发生其它修改时有效,任何新动作都会清空重做栈)。
View tool JSON
{
"name": "redo",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 重做上一次被撤销的图形(仅限 undo 后未发生其它修改时有效,任何新动作都会清空重做栈)。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/"
}clearCanvasAction
[作用域:画板页] 清空画布上所有图形。
View tool JSON
{
"name": "clearCanvas",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 清空画布上所有图形。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/"
}exportCanvasAction
[作用域:画板页] 将当前画布导出为图片并触发浏览器下载到本地。默认使用原始分辨率(保留 dpr 倍图)。
View tool JSON
{
"name": "exportCanvas",
"kind": "act",
"impl": "imperative",
"description": "[作用域:画板页] 将当前画布导出为图片并触发浏览器下载到本地。默认使用原始分辨率(保留 dpr 倍图)。",
"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 时生效"
}
}
},
"page": "/webmcp-nexus/"
}page: Todos
listTodosAnswer
[作用域:待办页] 列出全部待办(不过滤,可指定数量上限)。
View tool JSON
{
"name": "listTodos",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:待办页] 列出全部待办(不过滤,可指定数量上限)。",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "number",
"description": "返回数量上限(默认 200)"
}
}
},
"page": "/webmcp-nexus/todos"
}getTodoAnswer
[作用域:待办页] 根据 ID 读取单条待办详情。
View tool JSON
{
"name": "getTodo",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:待办页] 根据 ID 读取单条待办详情。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "待办 ID"
}
},
"required": [
"id"
]
},
"page": "/webmcp-nexus/todos"
}searchTodosAnswer
[作用域:待办页] 搜索待办(关键词匹配标题与描述,可叠加优先级/状态过滤)。
View tool JSON
{
"name": "searchTodos",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:待办页] 搜索待办(关键词匹配标题与描述,可叠加优先级/状态过滤)。",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "关键词(匹配标题与描述)"
},
"priorities": {
"type": "array",
"description": "优先级过滤"
},
"statuses": {
"type": "array",
"description": "状态过滤"
},
"limit": {
"type": "number",
"description": "返回数量上限(默认 50)"
}
}
},
"page": "/webmcp-nexus/todos"
}getTodoStatsAnswer
[作用域:待办页] 读取待办统计(总数/各状态数/逾期数)。
View tool JSON
{
"name": "getTodoStats",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:待办页] 读取待办统计(总数/各状态数/逾期数)。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/todos"
}createTodoAction
[作用域:待办页] 创建一条新待办。
View tool JSON
{
"name": "createTodo",
"kind": "act",
"impl": "imperative",
"description": "[作用域:待办页] 创建一条新待办。",
"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"
]
},
"page": "/webmcp-nexus/todos"
}updateTodoAction
[作用域:待办页] 更新一条待办的字段。
View tool JSON
{
"name": "updateTodo",
"kind": "act",
"impl": "imperative",
"description": "[作用域:待办页] 更新一条待办的字段。",
"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"
]
},
"page": "/webmcp-nexus/todos"
}deleteTodoSensitive Action
[作用域:待办页] 删除一条待办。
View tool JSON
{
"name": "deleteTodo",
"kind": "transact",
"impl": "imperative",
"description": "[作用域:待办页] 删除一条待办。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "待办 ID"
}
},
"required": [
"id"
]
},
"page": "/webmcp-nexus/todos"
}deleteTodosSensitive Action
[作用域:待办页] 批量删除待办。
View tool JSON
{
"name": "deleteTodos",
"kind": "transact",
"impl": "imperative",
"description": "[作用域:待办页] 批量删除待办。",
"inputSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"description": "待办 ID 列表",
"items": {
"type": "string"
}
}
},
"required": [
"ids"
]
},
"page": "/webmcp-nexus/todos"
}setTodoStatusAction
[作用域:待办页] 设置待办状态。
View tool JSON
{
"name": "setTodoStatus",
"kind": "act",
"impl": "imperative",
"description": "[作用域:待办页] 设置待办状态。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "待办 ID"
},
"status": {
"type": "string",
"description": "新状态",
"enum": [
"todo",
"in_progress",
"done"
]
}
},
"required": [
"id",
"status"
]
},
"page": "/webmcp-nexus/todos"
}bulkSetTodoStatusAction
[作用域:待办页] 批量设置待办状态。
View tool JSON
{
"name": "bulkSetTodoStatus",
"kind": "act",
"impl": "imperative",
"description": "[作用域:待办页] 批量设置待办状态。",
"inputSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"description": "待办 ID 列表",
"items": {
"type": "string"
}
},
"status": {
"type": "string",
"description": "新状态",
"enum": [
"todo",
"in_progress",
"done"
]
}
},
"required": [
"ids",
"status"
]
},
"page": "/webmcp-nexus/todos"
}setTodoPriorityAction
[作用域:待办页] 设置待办优先级。
View tool JSON
{
"name": "setTodoPriority",
"kind": "act",
"impl": "imperative",
"description": "[作用域:待办页] 设置待办优先级。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "待办 ID"
},
"priority": {
"type": "string",
"description": "新优先级",
"enum": [
"low",
"medium",
"high",
"urgent"
]
}
},
"required": [
"id",
"priority"
]
},
"page": "/webmcp-nexus/todos"
}setTodoDueDateAction
[作用域:待办页] 设置待办截止时间。
View tool JSON
{
"name": "setTodoDueDate",
"kind": "act",
"impl": "imperative",
"description": "[作用域:待办页] 设置待办截止时间。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "待办 ID"
},
"dueDate": {
"type": "string",
"description": "截止时间 YYYY-MM-DDTHH:mm,或 null 清除"
}
},
"required": [
"id",
"dueDate"
]
},
"page": "/webmcp-nexus/todos"
}page: Editor
getDocumentContentAnswer
[作用域:编辑器页] 获取当前文档内容。
View tool JSON
{
"name": "getDocumentContent",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:编辑器页] 获取当前文档内容。",
"inputSchema": {
"type": "object",
"properties": {
"format": {
"type": "string",
"description": "输出格式:json | html | text(默认 json)",
"enum": [
"json",
"html",
"text"
]
}
}
},
"page": "/webmcp-nexus/editor"
}getDocumentStatsAnswer
[作用域:编辑器页] 获取文档统计信息(字数、字符数等)。
View tool JSON
{
"name": "getDocumentStats",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:编辑器页] 获取文档统计信息(字数、字符数等)。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/editor"
}getDocumentOutlineAnswer
[作用域:编辑器页] 获取文档标题大纲(所有标题列表)。
View tool JSON
{
"name": "getDocumentOutline",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:编辑器页] 获取文档标题大纲(所有标题列表)。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/editor"
}insertTextAction
[作用域:编辑器页] 在文档末尾插入纯文本。
View tool JSON
{
"name": "insertText",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 在文档末尾插入纯文本。",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "要插入的文本内容"
}
},
"required": [
"text"
]
},
"page": "/webmcp-nexus/editor"
}insertHeadingAction
[作用域:编辑器页] 在文档末尾插入一个标题。
View tool JSON
{
"name": "insertHeading",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 在文档末尾插入一个标题。",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "标题文本"
},
"level": {
"type": "number",
"description": "标题级别 1-6(默认 2)"
}
},
"required": [
"text"
]
},
"page": "/webmcp-nexus/editor"
}insertParagraphAction
[作用域:编辑器页] 在文档末尾插入一个段落。
View tool JSON
{
"name": "insertParagraph",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 在文档末尾插入一个段落。",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "段落文本"
},
"alignment": {
"type": "string",
"description": "对齐方式(默认 left)",
"enum": [
"left",
"center",
"right"
]
}
},
"required": [
"text"
]
},
"page": "/webmcp-nexus/editor"
}insertCodeBlockAction
[作用域:编辑器页] 在文档末尾插入一个代码块。
View tool JSON
{
"name": "insertCodeBlock",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 在文档末尾插入一个代码块。",
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "代码内容"
},
"language": {
"type": "string",
"description": "编程语言(如 typescript、python)"
}
},
"required": [
"code"
]
},
"page": "/webmcp-nexus/editor"
}insertBlockquoteAction
[作用域:编辑器页] 在文档末尾插入一个引用块。
View tool JSON
{
"name": "insertBlockquote",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 在文档末尾插入一个引用块。",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "引用文本"
}
},
"required": [
"text"
]
},
"page": "/webmcp-nexus/editor"
}insertListAction
[作用域:编辑器页] 在文档末尾插入一个列表。
View tool JSON
{
"name": "insertList",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 在文档末尾插入一个列表。",
"inputSchema": {
"type": "object",
"properties": {
"items": {
"type": "array",
"description": "列表项内容数组",
"items": {
"type": "string"
}
},
"type": {
"type": "string",
"description": "列表类型:bullet 无序 / ordered 有序(默认 bullet)",
"enum": [
"bullet",
"ordered"
]
}
},
"required": [
"items"
]
},
"page": "/webmcp-nexus/editor"
}insertHorizontalRuleAction
[作用域:编辑器页] 在文档末尾插入一条水平分割线。
View tool JSON
{
"name": "insertHorizontalRule",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 在文档末尾插入一条水平分割线。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/editor"
}insertLinkAction
[作用域:编辑器页] 在文档末尾插入一个超链接。
View tool JSON
{
"name": "insertLink",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 在文档末尾插入一个超链接。",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "链接显示文本"
},
"href": {
"type": "string",
"description": "链接 URL"
}
},
"required": [
"text",
"href"
]
},
"page": "/webmcp-nexus/editor"
}removeLinkAction
[作用域:编辑器页] 移除当前选中文本或光标所在位置的链接。
View tool JSON
{
"name": "removeLink",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 移除当前选中文本或光标所在位置的链接。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/editor"
}toggleFormatAction
[作用域:编辑器页] 对当前选中文本切换格式(加粗/斜体/下划线/删除线/代码)。
View tool JSON
{
"name": "toggleFormat",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 对当前选中文本切换格式(加粗/斜体/下划线/删除线/代码)。",
"inputSchema": {
"type": "object",
"properties": {
"format": {
"type": "string",
"description": "格式类型",
"enum": [
"bold",
"italic",
"underline",
"strike",
"code"
]
}
},
"required": [
"format"
]
},
"page": "/webmcp-nexus/editor"
}setTextAlignAction
[作用域:编辑器页] 设置当前块的文本对齐方式。
View tool JSON
{
"name": "setTextAlign",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 设置当前块的文本对齐方式。",
"inputSchema": {
"type": "object",
"properties": {
"alignment": {
"type": "string",
"description": "对齐方式",
"enum": [
"left",
"center",
"right"
]
}
},
"required": [
"alignment"
]
},
"page": "/webmcp-nexus/editor"
}setHeadingLevelAction
[作用域:编辑器页] 将当前块转换为指定标题级别。
View tool JSON
{
"name": "setHeadingLevel",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 将当前块转换为指定标题级别。",
"inputSchema": {
"type": "object",
"properties": {
"level": {
"type": "number",
"description": "标题级别 1-6,传 0 则转回普通段落"
}
},
"required": [
"level"
]
},
"page": "/webmcp-nexus/editor"
}setBlockTypeAction
[作用域:编辑器页] 将当前块转换为指定类型(段落/引用/代码块)。
View tool JSON
{
"name": "setBlockType",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 将当前块转换为指定类型(段落/引用/代码块)。",
"inputSchema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "块类型",
"enum": [
"paragraph",
"blockquote",
"codeBlock"
]
}
},
"required": [
"type"
]
},
"page": "/webmcp-nexus/editor"
}toggleListAction
[作用域:编辑器页] 将当前块切换为列表(无序或有序),再次调用可取消列表。
View tool JSON
{
"name": "toggleList",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 将当前块切换为列表(无序或有序),再次调用可取消列表。",
"inputSchema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "列表类型:bullet 无序 / ordered 有序",
"enum": [
"bullet",
"ordered"
]
}
},
"required": [
"type"
]
},
"page": "/webmcp-nexus/editor"
}replaceTextAction
[作用域:编辑器页] 查找并替换文档中的文本。
View tool JSON
{
"name": "replaceText",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 查找并替换文档中的文本。",
"inputSchema": {
"type": "object",
"properties": {
"search": {
"type": "string",
"description": "要查找的文本"
},
"replace": {
"type": "string",
"description": "替换为的文本"
},
"replaceAll": {
"type": "boolean",
"description": "是否替换全部(默认只替换第一个)"
}
},
"required": [
"search",
"replace"
]
},
"page": "/webmcp-nexus/editor"
}clearDocumentAction
[作用域:编辑器页] 清空文档内容。
View tool JSON
{
"name": "clearDocument",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 清空文档内容。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/editor"
}setDocumentContentAction
[作用域:编辑器页] 用 HTML 或 JSON 内容替换整个文档。
View tool JSON
{
"name": "setDocumentContent",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 用 HTML 或 JSON 内容替换整个文档。",
"inputSchema": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "文档内容"
},
"format": {
"type": "string",
"description": "内容格式:html 或 json(默认 html)",
"enum": [
"json",
"html"
]
}
},
"required": [
"content"
]
},
"page": "/webmcp-nexus/editor"
}undoAction
[作用域:编辑器页] 撤销上一步操作。
View tool JSON
{
"name": "undo",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 撤销上一步操作。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/editor"
}redoAction
[作用域:编辑器页] 重做上一步撤销的操作。
View tool JSON
{
"name": "redo",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 重做上一步撤销的操作。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/editor"
}setDocumentTitleAction
[作用域:编辑器页] 设置文档标题。
View tool JSON
{
"name": "setDocumentTitle",
"kind": "act",
"impl": "imperative",
"description": "[作用域:编辑器页] 设置文档标题。",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "新标题"
}
},
"required": [
"title"
]
},
"page": "/webmcp-nexus/editor"
}page: Form
getFormDataAnswer
[作用域:表单页] 获取当前表单各字段的值。
View tool JSON
{
"name": "getFormData",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:表单页] 获取当前表单各字段的值。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/form"
}getSubmissionsAnswer
[作用域:表单页] 获取已提交的历史记录列表。
View tool JSON
{
"name": "getSubmissions",
"kind": "answer",
"impl": "imperative",
"description": "[作用域:表单页] 获取已提交的历史记录列表。",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "number",
"description": "返回数量上限(默认 50)"
}
}
},
"page": "/webmcp-nexus/form"
}fillFormAction
[作用域:表单页] 填充表单字段。
View tool JSON
{
"name": "fillForm",
"kind": "act",
"impl": "imperative",
"description": "[作用域:表单页] 填充表单字段。",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "姓名"
},
"email": {
"type": "string",
"description": "邮箱"
},
"message": {
"type": "string",
"description": "留言内容"
}
}
},
"page": "/webmcp-nexus/form"
}submitFormSensitive Action
[作用域:表单页] 提交当前表单内容到历史记录。
View tool JSON
{
"name": "submitForm",
"kind": "transact",
"impl": "imperative",
"description": "[作用域:表单页] 提交当前表单内容到历史记录。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/form"
}clearFormAction
[作用域:表单页] 清空表单所有字段。
View tool JSON
{
"name": "clearForm",
"kind": "act",
"impl": "imperative",
"description": "[作用域:表单页] 清空表单所有字段。",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-nexus/form"
}