Remove Office metadata
clean_officeRemoves author, company, manager, title and other hidden metadata from Word, Excel or PowerPoint files while keeping the content untouched, saving a clean copy to a new path.
Instructions
Save a copy of a .docx, .xlsx or .pptx without author, last editor, company, manager, title, subject, keywords and the embedded thumbnail. The document content is untouched. Use remove_pdf_metadata for PDFs. Returns the saved path; the input is not changed.
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": {
"file": "<file>"
},
"name": "clean_office"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the file (absolute, or relative to the working directory). | |
| output | No | Where to save the result. Defaults to a new file next to the input. |