45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
{
|
|
"description": "GUI automation via AT-SPI2 accessibility tree.",
|
|
"prompt": "## gui_accessibility\n\nGUI automation via AT-SPI2 accessibility tree.\n\n**Args**: `[action, app, query...]`\n- Actions: `inspect`, `find`, `click`, `type`, `read`, `tree`, `action`\n\n```\ngui_accessibility(action=\"find\", app=\"Firefox\", path=\"button\", role=\"Close\")\ngui_accessibility(action=\"tree\", app=\"Kate\")\n```",
|
|
"args": {
|
|
"type": "object",
|
|
"required": [
|
|
"action"
|
|
],
|
|
"properties": {
|
|
"action": {
|
|
"type": "string",
|
|
"description": "apps|tree|inspect|find|read|click|type|action"
|
|
},
|
|
"app": {
|
|
"type": "string",
|
|
"description": "Application name"
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"description": "Element path"
|
|
},
|
|
"role": {
|
|
"type": "string",
|
|
"description": "Element role (for find)"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Element name (for find)"
|
|
},
|
|
"text": {
|
|
"type": "string",
|
|
"description": "Text to type (for type action)"
|
|
},
|
|
"action_name": {
|
|
"type": "string",
|
|
"description": "Action to perform (for action command)"
|
|
},
|
|
"depth": {
|
|
"type": "integer",
|
|
"description": "Tree depth (for tree/inspect, default: 4/2)"
|
|
}
|
|
}
|
|
}
|
|
}
|