share
Share text into another app on the phone, like picking it in the share sheet: the text goes into that app's share action (for example a new note in Notes and Tasks). A title input that is not the share input gets title, or the first line of the text. Logged in app_activity as "share". Use share_targets to see which apps take shared text.
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": {
"session": "<session>",
"to": "<to>",
"text": "<text>"
},
"name": "share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | App id from share_targets | |
| from | No | The app the text is shared from, for the activity log | |
| text | Yes | The text to share, up to 5000 characters | |
| title | No | A title for the shared item (default: the first line of the text) | |
| action | No | The share action, when the app has more than one (from share_targets) | |
| session | Yes | Session from open_app |