Share a proposed project file
share_fileCreates a pending attributed UTF-8 project-file version with a matching base_version and idempotent client_id. Only the human room host can accept it. Existing content is not silently overwritten.
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": {
"room_id": "<room_id>",
"path": "<path>",
"base_version": "<base_version>",
"text": "<text>",
"client_id": "<client_id>"
},
"name": "share_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| text | Yes | ||
| room_id | Yes | Room ID authorized by secure OAuth consent. | |
| client_id | Yes | Caller-generated UUID identifying one operation. Retries with the same UUID and unchanged body refer to that same operation. | |
| base_version | Yes |