> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agents.labs.bandwidth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read a documentation page

> MCP reference for read_doc.

Tool: `read_doc`. Requires **Viewer or higher** in the applicable workspace and a connected [OAuth session](https://docs.agents.labs.bandwidth.com/mcp/authentication.md).

Use a published page `path` from search or browsing. Optional `section` selects a heading title or slug. Returns content, title, breadcrumbs, and available sections. A missing page/section produces a tool error.

## Arguments

| Name | Type | Required | Defaults and limits |
| - | - | - | - |
| `path` | string | Yes | minLength: `1` |
| `section` | string or null | No | Default: `null` |

## Example arguments

Replace sample resource IDs with IDs returned in your selected workspace.

```json theme={null}
{
  "path": "api-reference/authentication"
}
```

## Result and errors

The schema below describes MCP `structuredContent`, including the `result` wrapper where present. Your client may also display a text representation. Read success flags and structured errors before continuing; transport success alone does not prove the operation succeeded. Authentication, missing membership, and insufficient role can fail before a tool result is produced. See [troubleshooting](https://docs.agents.labs.bandwidth.com/mcp/troubleshooting.md).

**Effect:** Reads data. **Retry:** Declared idempotent. Discovery annotations describe behavior; they do not grant permission or replace confirmation for consequential actions.

> [accordion] Input schema
>
> ```json theme={null}
> {
>   "additionalProperties": false,
>   "properties": {
>     "path": {
>       "minLength": 1,
>       "type": "string"
>     },
>     "section": {
>       "anyOf": [
>         {
>           "type": "string"
>         },
>         {
>           "type": "null"
>         }
>       ],
>       "default": null
>     }
>   },
>   "required": [
>     "path"
>   ],
>   "type": "object"
> }
> ```

> [accordion] Result schema
>
> ```json theme={null}
> {
>   "properties": {
>     "breadcrumb": {
>       "type": "string"
>     },
>     "content": {
>       "type": "string"
>     },
>     "llm_hint": {
>       "type": "string"
>     },
>     "path": {
>       "type": "string"
>     },
>     "section_slug": {
>       "type": "string"
>     },
>     "section_title": {
>       "type": "string"
>     },
>     "sections": {
>       "items": {
>         "properties": {
>           "slug": {
>             "type": "string"
>           },
>           "title": {
>             "type": "string"
>           }
>         },
>         "required": [
>           "title",
>           "slug"
>         ],
>         "type": "object"
>       },
>       "type": "array"
>     },
>     "title": {
>       "type": "string"
>     }
>   },
>   "required": [
>     "path",
>     "title",
>     "breadcrumb",
>     "content",
>     "sections"
>   ],
>   "type": "object"
> }
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.