Open File
open_fileOpens a file in its default viewer using a content URI from find_files or a shared storage path, enabling AI agents to display documents and media on connected devices.
Instructions
Open a file in its default viewer. uri: a content://media/... URI from find_files (never build one by hand); path: a file under shared storage.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "open_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | ||
| path | No | ||
| device | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||