Mirror a workbook into another account
mirror_workbookPuts a read-only copy of workbook in ANOTHER hedwigai account, named by its id (account, e.g. megacabs.com), and keeps it current: each version the owner writes arrives in the copy as its next version. The copy is there at once — nobody in that account is asked — filed under mirror/ at the folder path the workbook has here. A workbook has one owner, the account that hosts it, and only the owner changes it; it mirrors into one account at a time. The copy is an askroom: update_workbook on it answers a question of the document and changes nothing, and write_workbook, commit_workbook and restore_version are refused there. Only the document travels: its tabs and the spreadsheet or Word file it is made of. Sources, attachments, notes and run history stay with the owner.
With account, mirrors into it. Confirm the account id with the user first: the whole document becomes readable there. Without account, action:
show(the default): whetherworkbookis mirrored, with whom, whether this account owns it (you_own) or reads it, andlast_error.sync: bring the copy up to the owner's now, from either side.stop: end the mirror, from either side. Nothing is deleted; the copy stays, as its account's own workbook.
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": {
"workbook": "<workbook>"
},
"name": "mirror_workbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | What to do when no `account` is given. Default show. | |
| account | No | The id of the account that is to read a copy, e.g. megacabs.com. | |
| workbook | Yes | The workbook id. |