Put a document in a Space
spaces_share_documentPut a document in a Space so everyone in it can open it. Editors and the owner can change it; viewers read it. Name an existing spaceId, or newSpaceName to make one. Only the document owner may do this, and only into a Space where they are owner or editor. A document is in one Space at most, so this moves it.
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": {
"documentId": "<documentId>"
},
"name": "spaces_share_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | No | An existing Space, from spaces_list_spaces. | |
| documentId | Yes | The document id, from tools_list_documents. Any builder's document. | |
| newSpaceName | No | Make a Space with this name instead. |