Create Wiki upload session
wiki_uploadsessions_createOpen an upload session — step 1 of the Wiki file-upload pipeline.
Instructions
Open an upload session — step 1 of the Wiki file-upload pipeline.
The returned session_id addresses the session for uploadsessions_parts_upload /
uploadsessions_finish. For a single small file, attachments_upload runs the whole
pipeline in one call instead.
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": {
"body": "<body>"
},
"name": "wiki_uploadsessions_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ``file_name`` + total ``file_size`` in bytes (sum of every part). | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). |