prettify_document
Return prettified HTML for visual inspection. Supports input as raw HTML string or document handle, with configurable output limits.
Instructions
Return prettified HTML for visual inspection.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prettify_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| max_size_bytes | No | ||
| document_handle | No | ||
| max_output_chars | No | ||
| truncate_on_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_url | No | ||
| output_chars | Yes | ||
| document_handle | No | ||
| prettified_html | Yes | ||
| truncated_output | Yes |