document_import_pdf
Import exactly one page from a workspace-local PDF into a sanitized SVG and conversion manifest using Inkscape, with internal or Poppler modes and fidelity warnings.
Instructions
Imports exactly one page of a workspace-local PDF through the local Inkscape importer into a sanitized SVG and conversion manifest. The internal and Poppler importers are explicit, capability-gated modes with fidelity warnings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expectedRevision": "<expectedRevision>",
"manifestPath": "<manifestPath>",
"mode": "<mode>",
"outputPath": "<outputPath>",
"page": "<page>",
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "document_import_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| page | Yes | ||
| path | Yes | ||
| outputPath | Yes | ||
| workspaceId | Yes | ||
| fontStrategy | No | ||
| manifestPath | Yes | ||
| sanitizeMode | No | preserve-local | |
| dependencyPolicy | No | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manifest | Yes | ||
| revision | Yes | ||
| outputPath | Yes | ||
| manifestPath | Yes | ||
| manifestRevision | Yes |