Read an iWork file
iwork_readRead Apple Numbers, Keynote, and Pages files into JSON to view their content before editing. Use for content preview, not formatting details.
Instructions
Read a .numbers, .key or .pages file into JSON (.pages needs the Pages app and a GUI session). Use to see a file's content before editing it. Not for formatting details: use numbers_inspect_format (Numbers) or keynote_inspect_style (Keynote). For file facts only, iwork_metadata is cheaper.
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": {
"path": "<path>"
},
"name": "iwork_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .numbers, .key or .pages file (absolute, or starting with ~). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||