create_office_document
Create a blank, editable Office document (Word .docx, Excel .xlsx, or PowerPoint .pptx) in a workspace document library. The file appears in the Documents tab and a person can open it in the in-browser Office editor to co-edit it. Use this (not draft_document, which only makes markdown) when the deliverable should be a real Office file the team will edit. kind is one of word | cell | slide (aliases: document/docx, spreadsheet/xlsx, presentation/pptx). libraryId must reference an existing library; create one first via create_library if needed. Requires project.content.create (CONTRIBUTOR+; Viewers are read-only).
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": {
"libraryId": "<libraryId>",
"kind": "<kind>"
},
"name": "create_office_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Document kind. word/document/docx, cell/spreadsheet/xlsx, or slide/presentation/pptx. | |
| name | No | Optional document name (max 200 chars). Defaults to "Untitled document/spreadsheet/presentation". | |
| libraryId | Yes | Library to create the document in. |