wecom_create_doc
Create a new WeCom document or smartsheet by specifying a name and type. Returns the URL and docid needed for subsequent edits.
Instructions
Create a new WeCom document or smartsheet. Returns url and docid — save the docid for subsequent edits.
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": {
"doc_name": "<doc_name>",
"doc_type": "<doc_type>"
},
"name": "wecom_create_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes | Document name (max 255 chars) | |
| doc_type | Yes | 3 = regular document, 10 = smartsheet |