# Get Docs Tool

Returns one documentation entry in full: a feature page's markdown, or the complete reference for one workflow node or agent tool.

## When to Use

The AI uses this tool after `ListDocsTool` finds a relevant entry, so that answers about how a feature, node or tool works come from the documentation rather than from recollection. Node and tool entries carry the same reference the docs site shows: configuration fields, sockets and schemas for a node, the call parameters for a tool.

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `path` | string | Yes | Docs path as returned by `ListDocsTool`: a page slug such as `agents`, `nodes/<node tag>`, or `tools/<tool name>`. A node's former tag also resolves. |

## Returns

One entry, whose `kind` says which shape it has.

For `kind: "page"`:

| Field | Type | Description |
|-------|------|-------------|
| `slug` | string | The page's slug, which is its path |
| `title` | string | Page title |
| `summary` | string | One-line description of the page |
| `group` | string | The docs group the page belongs to |
| `order` | number | Its position within the group |
| `markdown` | string | The page body as markdown, without the frontmatter block |

For `kind: "node"`:

| Field | Type | Description |
|-------|------|-------------|
| `tag` | string | The node type's tag |
| `display_name` | string | Node name |
| `summary` | string | One-line description |
| `category` | string | Node category |
| `description` | string \| null | The node's prose, when it has one |
| `inputs` | array | Input sockets, each with `name` and `required` |
| `outputs` | array | Output socket names |
| `fields` | array | Configuration fields with type, description, default and whether required |
| `schema` | object | The full configuration schema |

For `kind: "tool"`:

| Field | Type | Description |
|-------|------|-------------|
| `name` | string | The name a model calls the tool by |
| `tag` | string | The tool's registry tag |
| `display_name` | string | Tool name |
| `summary` | string | One-line description |
| `description` | string | The tool's prose, or its summary when it has none |
| `category` | string | Tool category |
| `parameters` | object | The JSON schema of the tool's call parameters |

## Example Scenario

A user asks what the Agents feature can do. The AI calls this tool with `path: "agents"` and answers from the page's own description of roles, sessions and tools, instead of guessing at settings that may not exist.

## Notes

- Paths come from `ListDocsTool`; an unknown path returns an error saying how to find valid ones
- The docs are the same for every workspace and carry no workspace data
- Read-only
