clipboard_copy
Copy a secret (a Telegram bot token, a browser identity's sign-in password) WITHOUT seeing it, to paste it into a tool in this or another workspace.
Returns a handle clip:<id>, never the value. Pass the handle where a tool's parameter says it takes one: channels.connect_telegram_bot(bot_token="clip:...", in_workspace=), browser.create_identity(password="clip:...", username=<the copy's username>, origin=<the copy's origin>, in_workspace=). The server puts the secret in for that run and takes it out of the answer; any other parameter refuses a handle.
source, exactly one of:
{message_id, pattern?}: a token inside a message, by its numeric id from messages.read_history; pattern 'telegram_bot_token' (the default: BotFather's answer).
{channel_account_id}: a connected Telegram bot's token. A bot still connected in another workspace is refused there until it is disconnected: a bot has one webhook.
{identity_id}: the password a browser identity signs in with (browser.list_identities). The answer also names its origin and username (not secrets); the password is pasted only for that same origin.
Rules: owner or admin of the workspace the secret is in, and of the workspace it is pasted into; the handle is yours alone, lasts 15 minutes and is spent by the first run that succeeds with 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": {
"source": "<source>"
},
"name": "clipboard_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Where the secret is: {message_id, pattern?} | {channel_account_id} | {identity_id}. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |