Tool tree
Local-first browser studio for editing and previewing TXT, Markdown, JSON, YAML and XML, plus merging, organizing and optimizing PDFs without uploads.
Implementation
gradeNot graded
gradeNot graded
read_documentAnswer
Read the current Docbench document state and optionally its text without changing it.
View tool JSON
{
"name": "read_document",
"kind": "answer",
"impl": "imperative",
"description": "Read the current Docbench document state and optionally its text without changing it.",
"inputSchema": {
"type": "object",
"properties": {
"includeText": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
}set_document_textAction
Replace the document editor text and optionally select its format using the existing Docbench UI state.
View tool JSON
{
"name": "set_document_text",
"kind": "act",
"impl": "imperative",
"description": "Replace the document editor text and optionally select its format using the existing Docbench UI state.",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 500000
},
"format": {
"type": "string",
"enum": [
"txt",
"md",
"json",
"jsonc",
"json5",
"jsonl",
"yaml",
"xml",
"ini",
"shell",
"powershell",
"batch",
"env",
"playlist",
"config"
]
}
},
"required": [
"text"
],
"additionalProperties": false
}
}validate_documentAction
Validate or inspect the current supported Docbench text format and update the visible result.
View tool JSON
{
"name": "validate_document",
"kind": "act",
"impl": "imperative",
"description": "Validate or inspect the current supported Docbench text format and update the visible result.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}format_documentAction
Auto-format the current document with Docbench's existing formatter and return the resulting text and status.
View tool JSON
{
"name": "format_document",
"kind": "act",
"impl": "imperative",
"description": "Auto-format the current document with Docbench's existing formatter and return the resulting text and status.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}inspect_documentAction
Read Docbench's local text-safety inspection for hidden characters, markers and prompt-injection-like patterns without changing the document.
View tool JSON
{
"name": "inspect_document",
"kind": "act",
"impl": "imperative",
"description": "Read Docbench's local text-safety inspection for hidden characters, markers and prompt-injection-like patterns without changing the document.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}