# veryfront__get_knowledge_graph

Get knowledge graph.

Risk: read\_only.

## Arguments

| Name                   | Type    | Required | Description                                                                                                                                                                                                                                                                                                                                                                                               |
| ---------------------- | ------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `lookup_target`        |         |          | Optional. Omit to search the main preview branch (the default). Set this to target another preview branch, a deployed environment, or a published release; unresolved targets are returned as not found.                                                                                                                                                                                                  |
| `caller_selector`      |         |          | Caller-selected document scope. Source membership and server-trusted knowledge policy are intersected with this selector before pagination; denied nodes, edges, broken-link labels and counts are filtered.                                                                                                                                                                                              |
| `root_file_version_id` | string  |          | Provide the root file version id.                                                                                                                                                                                                                                                                                                                                                                         |
| `root_path`            | string  |          | Provide the root path.                                                                                                                                                                                                                                                                                                                                                                                    |
| `max_depth`            | integer |          | Link hops from the root, 0 to 3; omit the root to read the whole visible set. Responses over 512 KiB fail with a size limit (REST 413, MCP PAYLOAD\_TOO\_LARGE). Narrow the graph with root\_path, max\_depth, filters or pagination.limit (GraphQL rootPath, maxDepth, filters or pagination.limit).                                                                                                     |
| `filters`              | object  |          | Provide the filters.                                                                                                                                                                                                                                                                                                                                                                                      |
| `pagination`           | object  |          | Provide the pagination.                                                                                                                                                                                                                                                                                                                                                                                   |
| `project_reference`    | string  |          | Project whose knowledge is selected. Ordinary callers require project.knowledge.read. A run-bound MCP service credential instead must match the persisted run's project and agent plus its actor or runtime transport binding; its effective sealed authority must grant the invoked tool and a knowledge selector. On project-scoped MCP endpoints, the scoped project supplies this value when omitted. |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__get_knowledge_graph",
    "arguments": {}
  }
}
```
