doc_create
Suggest a new document from Markdown (headings, lists, "- [ ] " checklists, tables, bold, links) in a folder (0 = My files). kind "folder": a new folder there instead, with no markdown. kind "file": a file, named with its extension (prices.csv, budget.xlsx, report.pdf), from text (written as it is) or data (its bytes in base64), up to 2.5 MB. The user accepts it unless "Create files" is set to Auto. A new version of one of yours still waiting replaces it: give it the same name in the same folder, or pass that suggestion's id as replaces. kind "signing": instead, prepare the PDF in Files with id pdf to be signed, at once, as a draft only the user sees (no name): the places to sign are found in it, and signers ([{"name", "email", "role"}], up to 10, or {"me": true} for the user) are put on them; message is a note shown to signers. Nothing is sent: the user checks it and presses Send in Files, which emails each signer their own link. Answers the draft's link and what it still needs.
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": {
"author": "<author>"
},
"name": "doc_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| data | No | ||
| kind | No | document | |
| name | No | ||
| text | No | ||
| model | No | ||
| author | Yes | ||
| folder | No | ||
| reason | No | ||
| message | No | ||
| signers | No | ||
| sources | No | ||
| markdown | No | ||
| replaces | No |