KnowMapped

Search, retrieve, create, and update visual knowledge maps in a user's KnowMapped account.

我该使用它吗

质量与安全性

B
描述质量
85%
模式完整度
68%
命名质量
92%
投毒风险
60%
权限匹配度
100%
协议合规性
100%

发现(11)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool 'preflight_knowmapped_map_creation' description contains placeholder text在 preflight_knowmapped_map_creation 中
  • MEDIUMTool 'create_knowmapped_map' description contains placeholder text在 create_knowmapped_map 中
  • LOWTool 'get_knowmapped_map_adjacency' description lacks action verb在 get_knowmapped_map_adjacency 中
  • LOWTool 'get_knowmapped_layout_summary' description lacks action verb在 get_knowmapped_layout_summary 中
  • LOWTool 'get_knowmapped_map_creation_result' description lacks action verb在 get_knowmapped_map_creation_result 中
  • LOWTool 'preflight_knowmapped_map_creation' name length outside 3-30 range在 preflight_knowmapped_map_creation 中
  • LOWTool 'confirm_knowmapped_map_creation' name length outside 3-30 range在 confirm_knowmapped_map_creation 中
  • LOWTool 'get_knowmapped_map_creation_result' name length outside 3-30 range在 get_knowmapped_map_creation_result 中
  • INFOTool description contains placeholder or incomplete text在 preflight_knowmapped_map_creation 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~4,926token 数(工具定义)
~4.9 KB典型响应大小
对注意力有显著影响(占 128k 上下文窗口的 3.85%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.knowmapped.com/mcp"
    }
  }
}

远程端点

https://mcp.knowmapped.com/mcpstreamable-http

它能做什么

工具清单

工具(10)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_knowmapped_update_schema

Return the authoritative, versioned schema and examples for atomic KnowMapped map patches. Call this before constructing an update instead of guessing operation or field names.

输入模式

{
  "type": "object",
  "properties": {},
  "title": "get_knowmapped_update_schemaArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}
🟢search_knowmapped_maps(query, limit)

Search maps available to the connected KnowMapped account. Use this when a user refers to a saved map or wants to find prior concepts; existing ownership and sharing permissions are enforced server-side.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "default": "",
      "title": "Query",
      "type": "string"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "search_knowmapped_mapsArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}
🟢get_knowmapped_map(map_id, include, include_nodes, include_edges, node_offset, ...)

Retrieve an authorized map with independent node_offset, edge_offset, and page_size parameters. Canonical IDs are always retained in projected nodes and edges even when include_nodes or include_edges omits id. Use summary for statistics without graph content or compact for token-efficient fields. Search results return copy-safe map references so UUIDs should not be typed manually.

输入模式

{
  "type": "object",
  "properties": {
    "map_id": {
      "title": "Map Id",
      "type": "string"
    },
    "include": {
      "default": "full",
      "enum": [
        "full",
        "compact",
        "summary"
      ],
      "title": "Include",
      "type": "string"
    },
    "include_nodes": {
      "default": "",
      "title": "Include Nodes",
      "type": "string"
    },
    "include_edges": {
      "default": "",
      "title": "Include Edges",
      "type": "string"
    },
    "node_offset": {
      "default": 0,
      "title": "Node Offset",
      "type": "integer",
      "description": "Zero-based offset for the independently paginated node collection.",
      "minimum": 0,
      "examples": [
        0,
        100
      ]
    },
    "edge_offset": {
      "default": 0,
      "title": "Edge Offset",
      "type": "integer",
      "description": "Zero-based offset for the independently paginated edge collection.",
      "minimum": 0,
      "examples": [
        0,
        100
      ]
    },
    "page_size": {
      "default": 100,
      "title": "Page Size",
      "type": "integer",
      "description": "Maximum nodes and maximum edges returned in this page (1-200).",
      "minimum": 1,
      "examples": [
        100
      ],
      "maximum": 200
    }
  },
  "required": [
    "map_id"
  ],
  "title": "get_knowmapped_mapArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}
🟢get_knowmapped_map_adjacency(map_id, node_id, exact_label, offset, limit)

Return one concept and its directly connected concepts and relationships without retrieving the full graph. Provide node_id or an exact unique label.

输入模式

{
  "type": "object",
  "properties": {
    "map_id": {
      "title": "Map Id",
      "type": "string"
    },
    "node_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Node Id"
    },
    "exact_label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Exact Label"
    },
    "offset": {
      "default": 0,
      "title": "Offset",
      "type": "integer"
    },
    "limit": {
      "default": 100,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "map_id"
  ],
  "title": "get_knowmapped_map_adjacencyArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}
🟢get_knowmapped_layout_summary(map_id)

Return layout bounds and graph statistics without returning graph content.

输入模式

{
  "type": "object",
  "properties": {
    "map_id": {
      "title": "Map Id",
      "type": "string"
    }
  },
  "required": [
    "map_id"
  ],
  "title": "get_knowmapped_layout_summaryArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}
🟢preflight_knowmapped_map_creation(graph, idempotency_key)

Check eligibility and credits, or retain a fully validated graph as a short-lived draft. The exact creation layout field is top-level graph.layout_intent, for example left-to-right. If omitted, Smart is the intent but [0,0] placeholders remain until the map client detects them and applies Smart on first draw; the response reports layout_application=client-first-draw. Complete explicit coordinates are preserved. Fields named layout, layout_type, or strategy are rejected. Drafts do not reserve credits and can be confirmed by draft ID without resending the graph.

输入模式

{
  "type": "object",
  "properties": {
    "graph": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "title": {
              "type": "string",
              "minLength": 1
            },
            "description": {
              "type": "string"
            },
            "layout_intent": {
              "type": "string",
              "enum": [
                "smart",
                "left-to-right",
                "top-to-bottom",
                "radial",
                "clustered",
                "grid",
                "hierarchical",
                "declutter",
                "manual"
              ],
              "default": "smart",
              "description": "Requested semantic layout. Use this exact top-level field. If omitted, KnowMapped automatically applies Smart layout unless every node supplies explicit x/y coordinates; complete explicit coordinates are preserved as manual positioning."
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nodes": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "position": {
                    "type": "object"
                  },
                  "importance": {
                    "type": "string"
                  },
                  "is_core": {
                    "type": "boolean"
                  },
                  "resources": {
                    "type": "array"
                  },
                  "icon": {
                    "type": "string"
                  },
                  "semantic_data": {
                    "type": "object"
                  }
                },
                "required": [
                  "id",
                  "label"
                ],
                "additionalProperties": false
              }
            },
            "edges": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "target": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "style": {
                    "type": "object"
                  },
                  "routing": {
                    "type": "string"
                  },
                  "strength": {
                    "type": "string"
                  },
                  "semantic_data": {
                    "type": "object"
                  }
                },
                "required": [
                  "id",
                  "source",
                  "target"
                ],
                "additionalProperties": false
              }
            },
            "presentation": {
              "type": "object",
              "description": "Non-layout visual settings. Layout belongs in top-level layout_intent.",
              "additionalProperties": true
            }
          },
          "required": [
            "nodes",
            "edges"
          ],
          "additionalProperties": false,
          "examples": [
            {
              "title": "Research flow",
              "layout_intent": "left-to-right",
              "nodes": [
                {
                  "id": "source",
                  "label": "Source"
                },
                {
                  "id": "review",
                  "label": "Review"
                }
              ],
              "edges": [
                {
                  "id": "source-review",
                  "source": "source",
                  "target": "review",
                  "label": "informs"
                }
              ]
            }
          ]
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Graph"
    },
    "idempotency_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Idempotency Key"
    }
  },
  "title": "preflight_knowmapped_map_creationArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}
🟡create_knowmapped_map(graph, idempotency_key, validate_only, confirm_credit_use)

Validate or create a KnowMapped graph. Specify requested layout only as top-level graph.layout_intent. When omitted, requested_layout and resolved_strategy are smart, but [0,0] placeholders are retained for the map client to lay out on first draw; layout_application is client-first-draw. Complete explicit coordinates are preserved instead. Set validate_only=true to check the exact final graph schema, layout, capacity, links, and credits without creating a map, charging credits, or reserving the idempotency key. For credit-bearing creation, show the quoted charge, then confirm the retained draft only after explicit approval.

输入模式

{
  "type": "object",
  "properties": {
    "graph": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string"
        },
        "layout_intent": {
          "type": "string",
          "enum": [
            "smart",
            "left-to-right",
            "top-to-bottom",
            "radial",
            "clustered",
            "grid",
            "hierarchical",
            "declutter",
            "manual"
          ],
          "default": "smart",
          "description": "Requested semantic layout. Use this exact top-level field. If omitted, KnowMapped automatically applies Smart layout unless every node supplies explicit x/y coordinates; complete explicit coordinates are preserved as manual positioning."
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "nodes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "position": {
                "type": "object"
              },
              "importance": {
                "type": "string"
              },
              "is_core": {
                "type": "boolean"
              },
              "resources": {
                "type": "array"
              },
              "icon": {
                "type": "string"
              },
              "semantic_data": {
                "type": "object"
              }
            },
            "required": [
              "id",
              "label"
            ],
            "additionalProperties": false
          }
        },
        "edges": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "target": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "style": {
                "type": "object"
              },
              "routing": {
                "type": "string"
              },
              "strength": {
                "type": "string"
              },
              "semantic_data": {
                "type": "object"
              }
            },
            "required": [
              "id",
              "source",
              "target"
            ],
            "additionalProperties": false
          }
        },
        "presentation": {
          "type": "object",
          "description": "Non-layout visual settings. Layout belongs in top-level layout_intent.",
          "additionalProperties": true
        }
      },
      "required": [
        "nodes",
        "edges"
      ],
      "additionalProperties": false,
      "examples": [
        {
          "title": "Research flow",
          "layout_intent": "left-to-right",
          "nodes": [
            {
              "id": "source",
              "label": "Source"
            },
            {
              "id": "review",
              "label": "Review"
            }
          ],
          "edges": [
            {
              "id": "source-review",
              "source": "source",
              "target": "review",
              "label": "informs"
            }
          ]
        }
      ]
    },
    "idempotency_key": {
      "title": "Idempotency Key",
      "type": "string"
    },
    "validate_only": {
      "default": false,
      "title": "Validate Only",
      "type": "boolean"
    },
    "confirm_credit_use": {
      "default": false,
      "title": "Confirm Credit Use",
      "type": "boolean"
    }
  },
  "required": [
    "graph",
    "idempotency_key"
  ],
  "title": "create_knowmapped_mapArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}
🟢confirm_knowmapped_map_creation(draft_id, confirm_credit_use)

Transactionally confirm a preflighted creation by draft ID. Success definitively returns map_id and revision. A failed transaction preserves the draft for retry, and retrying a committed success returns the same result without charging again. Use get_knowmapped_map_creation_result after a timeout or malformed response.

输入模式

{
  "type": "object",
  "properties": {
    "draft_id": {
      "title": "Draft Id",
      "type": "string"
    },
    "confirm_credit_use": {
      "default": false,
      "title": "Confirm Credit Use",
      "type": "boolean"
    }
  },
  "required": [
    "draft_id"
  ],
  "title": "confirm_knowmapped_map_creationArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}
🟢get_knowmapped_map_creation_result(draft_id, idempotency_key)

Recover the definitive state of a map creation without creating a map or charging credits. Provide exactly one draft_id or the original idempotency_key. A succeeded result includes the canonical map ID and revision.

输入模式

{
  "type": "object",
  "properties": {
    "draft_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Draft Id"
    },
    "idempotency_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Idempotency Key"
    }
  },
  "title": "get_knowmapped_map_creation_resultArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}
🔴update_knowmapped_map(map_id, expected_revision, operations, idempotency_key, validate_only)

Validate or atomically update an editable map with one mixed patch. Accepted operations are update_map, add_node, update_node, remove_node, add_edge, update_edge, remove_edge, replace_edges, and layout_nodes; get_knowmapped_update_schema is the authoritative versioned contract. Use id for identifiers, title for the map title, and layout_nodes with strategy, spacing, groups, and optional flow. Node references accept IDs, earlier temp_id values, or exact unique labels. Edge references accept IDs or semantic source/target/current-relationship matches. validate_only returns a corrected executable normalized_patch, all detectable errors and warnings, layout positions and bounds, a patch summary, publication state, and current revision without changing data. On a stale write, revalidate the same patch at current_revision, then submit the returned normalized_patch.

输入模式

{
  "type": "object",
  "properties": {
    "map_id": {
      "title": "Map Id",
      "type": "string"
    },
    "expected_revision": {
      "title": "Expected Revision",
      "type": "integer"
    },
    "operations": {
      "description": "One atomic patch. Node references accept IDs, declared temp IDs, or {\"label\":\"Exact unique label\"}.",
      "examples": [
        [
          {
            "label": "New finding",
            "op": "add_node",
            "position": {
              "x": 100,
              "y": 200
            },
            "temp_id": "finding-1"
          },
          {
            "label": "supports",
            "op": "add_edge",
            "source": {
              "label": "Existing concept"
            },
            "target": "finding-1"
          }
        ],
        [
          {
            "op": "layout_nodes",
            "spacing": 220,
            "strategy": "hierarchical"
          }
        ],
        [
          {
            "confirm": true,
            "id": {
              "label": "Obsolete concept"
            },
            "op": "remove_node"
          }
        ]
      ],
      "items": {
        "$id": "https://knowmapped.com/schemas/mcp/map-patch/2026-08-22.3",
        "schema_version": "2026-08-22.3",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "add_edge"
              },
              "source": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "description": "Canonical node ID or a temp_id declared by add_node."
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "label"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "target": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "description": "Canonical node ID or a temp_id declared by add_node."
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "label"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "label": {
                "type": "string"
              },
              "style": {
                "type": "object"
              },
              "routing": {
                "type": "string"
              },
              "strength": {
                "type": "string"
              },
              "semantic_data": {
                "type": "object"
              }
            },
            "required": [
              "op",
              "source",
              "target"
            ],
            "additionalProperties": false,
            "examples": [
              {
                "op": "add_edge",
                "source": {
                  "label": "Source material"
                },
                "target": "new-concept",
                "label": "supports"
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "add_node"
              },
              "temp_id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "position": {
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number"
                  },
                  "y": {
                    "type": "number"
                  }
                },
                "required": [
                  "x",
                  "y"
                ],
                "additionalProperties": false
              },
              "importance": {
                "type": "string"
              },
              "is_core": {
                "type": "boolean"
              },
              "resources": {
                "type": "array"
              },
              "icon": {
                "type": "string"
              },
              "semantic_data": {
                "type": "object"
              }
            },
            "required": [
              "op",
              "label",
              "temp_id"
            ],
            "additionalProperties": false,
            "examples": [
              {
                "op": "add_node",
                "temp_id": "new-concept",
                "label": "New concept"
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "layout_nodes"
              },
              "strategy": {
                "type": "string",
                "enum": [
                  "smart",
                  "left-to-right",
                  "top-to-bottom",
                  "manual",
                  "grid",
                  "radial",
                  "hierarchical",
                  "clustered",
                  "declutter"
                ]
              },
              "spacing": {
                "type": "number",
                "minimum": 80,
                "maximum": 800
              },
              "groups": {
                "type": "object",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "description": "Canonical node ID or a temp_id declared by add_node."
                      },
                      {
                        "type": "object",
                        "properties": {
                          "label": {
                            "type": "string",
                            "minLength": 1
                          }
                        },
                        "required": [
                          "label"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  }
                }
              },
              "flow": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 1,
                          "description": "Canonical node ID or a temp_id declared by add_node."
                        },
                        {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "required": [
                            "label"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                ],
                "description": "Optional reading order, either concept references or labels separated by → or ->."
              }
            },
            "required": [
              "op",
              "strategy"
            ],
            "additionalProperties": false,
            "examples": [
              {
                "op": "layout_nodes",
                "strategy": "hierarchical",
                "spacing": 220,
                "groups": {
                  "Evidence": [
                    {
                      "label": "Source material"
                    }
                  ]
                },
                "flow": "Source → Draft → Concepts → Review"
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "remove_edge"
              },
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "object",
                    "properties": {
                      "source": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "description": "Canonical node ID or a temp_id declared by add_node."
                          },
                          {
                            "type": "object",
                            "properties": {
                              "label": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "required": [
                              "label"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "target": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "description": "Canonical node ID or a temp_id declared by add_node."
                          },
                          {
                            "type": "object",
                            "properties": {
                              "label": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "required": [
                              "label"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "relationship": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "source",
                      "target"
                    ],
                    "additionalProperties": false,
                    "description": "Semantic relationship match. relationship matches the current edge label when supplied."
                  }
                ]
              },
              "confirm": {
                "const": true
              }
            },
            "required": [
              "op",
              "confirm",
              "id"
            ],
            "additionalProperties": false,
            "examples": [
              {
                "op": "remove_edge",
                "id": "relationship-id",
                "confirm": true
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "remove_node"
              },
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "description": "Canonical node ID or a temp_id declared by add_node."
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "label"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "confirm": {
                "const": true
              }
            },
            "required": [
              "op",
              "confirm",
              "id"
            ],
            "additionalProperties": false,
            "examples": [
              {
                "op": "remove_node",
                "id": {
                  "label": "Obsolete concept"
                },
                "confirm": true
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "replace_edges"
              },
              "remove": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "object",
                      "properties": {
                        "source": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "description": "Canonical node ID or a temp_id declared by add_node."
                            },
                            {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string",
                                  "minLength": 1
                                }
                              },
                              "required": [
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "target": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "description": "Canonical node ID or a temp_id declared by add_node."
                            },
                            {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string",
                                  "minLength": 1
                                }
                              },
                              "required": [
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "relationship": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "source",
                        "target"
                      ],
                      "additionalProperties": false,
                      "description": "Semantic relationship match. relationship matches the current edge label when supplied."
                    }
                  ]
                }
              },
              "add": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "source": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 1,
                          "description": "Canonical node ID or a temp_id declared by add_node."
                        },
                        {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "required": [
                            "label"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "target": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 1,
                          "description": "Canonical node ID or a temp_id declared by add_node."
                        },
                        {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "required": [
                            "label"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "label": {
                      "type": "string"
                    },
                    "style": {
                      "type": "object"
                    },
                    "routing": {
                      "type": "string"
                    },
                    "strength": {
                      "type": "string"
                    },
                    "semantic_data": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "source",
                    "target"
                  ],
                  "additionalProperties": false
                }
              },
              "confirm": {
                "const": true
              }
            },
            "required": [
              "op",
              "add",
              "confirm",
              "remove"
            ],
            "additionalProperties": false,
            "examples": [
              {
                "op": "replace_edges",
                "remove": [
                  {
                    "source": {
                      "label": "Draft"
                    },
                    "target": {
                      "label": "Review"
                    },
                    "relationship": "precedes"
                  }
                ],
                "add": [
                  {
                    "source": {
                      "label": "Draft"
                    },
                    "target": {
                      "label": "Concepts"
                    },
                    "label": "produces"
                  }
                ],
                "confirm": true
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "update_edge"
              },
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "object",
                    "properties": {
                      "source": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "description": "Canonical node ID or a temp_id declared by add_node."
                          },
                          {
                            "type": "object",
                            "properties": {
                              "label": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "required": [
                              "label"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "target": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "description": "Canonical node ID or a temp_id declared by add_node."
                          },
                          {
                            "type": "object",
                            "properties": {
                              "label": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "required": [
                              "label"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "relationship": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "source",
                      "target"
                    ],
                    "additionalProperties": false,
                    "description": "Semantic relationship match. relationship matches the current edge label when supplied."
                  }
                ]
              },
              "source": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "description": "Canonical node ID or a temp_id declared by add_node."
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "label"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "target": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "description": "Canonical node ID or a temp_id declared by add_node."
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "label"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "label": {
                "type": "string"
              },
              "style": {
                "type": "object"
              },
              "routing": {
                "type": "string"
              },
              "strength": {
                "type": "string"
              },
              "semantic_data": {
                "type": "object"
              }
            },
            "required": [
              "op",
              "id"
            ],
            "additionalProperties": false,
            "examples": [
              {
                "op": "update_edge",
                "id": "relationship-id",
                "label": "strengthens"
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "update_map"
              },
              "title": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "view_settings": {
                "type": "object"
              }
            },
            "required": [
              "op"
            ],
            "additionalProperties": false,
            "examples": [
              {
                "op": "update_map",
                "title": "Revised map title"
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "update_node"
              },
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "description": "Canonical node ID or a temp_id declared by add_node."
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "label"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "label": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "position": {
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number"
                  },
                  "y": {
                    "type": "number"
                  }
                },
                "required": [
                  "x",
                  "y"
                ],
                "additionalProperties": false
              },
              "importance": {
                "type": "string"
              },
              "is_core": {
                "type": "boolean"
              },
              "resources": {
                "type": "array"
              },
              "icon": {
                "type": "string"
              },
              "semantic_data": {
                "type": "object"
              }
            },
            "required": [
              "op",
              "id"
            ],
            "additionalProperties": false,
            "examples": [
              {
                "op": "update_node",
                "id": {
                  "label": "Source material"
                },
                "description": "Revised description"
              }
            ]
          }
        ],
        "discriminator": {
          "propertyName": "op"
        }
      },
      "title": "Operations",
      "type": "array"
    },
    "idempotency_key": {
      "title": "Idempotency Key",
      "type": "string"
    },
    "validate_only": {
      "default": false,
      "title": "Validate Only",
      "type": "boolean"
    }
  },
  "required": [
    "map_id",
    "expected_revision",
    "operations",
    "idempotency_key"
  ],
  "title": "update_knowmapped_mapArguments"
}

输出模式

{
  "type": "object",
  "additionalProperties": true
}

社区

评价此服务器

证据

最近观测

已验证未记录版本10 个工具
已验证未记录版本10 个工具