Office 预览
preview_office_filePreview local Word, Excel, PowerPoint, and PDF files in Antigravity's right-hand panel without downloading or uploading; omit the path to open the previewer with recent documents.
Instructions
在 Antigravity 右侧面板中直接原样预览本机 Word (.docx)、Excel (.xlsx/.xls/.csv)、PowerPoint (.pptx) 或 PDF (.pdf) 文档。不传 path 时打开空预览器与近期文档列表。
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": "preview_office_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | 要预览的本机文档绝对路径(支持 ~ 或 file:// 路径),可省略 |