foreground_app
Retrieves the current foreground application and activity name to provide screen context before performing UI automation or screenshots.
Instructions
Az eppen elterben lathato alkalmazas es aktivitas neve.
Ez adja a modellnek a 'kontextust' - mit lat most a felhasznalo a kepernyon - meg mielott ui_dump-ot vagy screenshot-ot kerne.
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": "foreground_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |