get_dbus_property
Reads a specific D-Bus property or dumps all properties of an interface using busctl. Provide service, path, and interface to retrieve property values.
Instructions
Read a D-Bus property (or all of an interface) via busctl.
Example: service 'org.kde.KWin', path '/KWin', interface 'org.kde.KWin'. Leave name empty to dump the whole interface.
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": {
"service": "<service>",
"path": "<path>",
"interface": "<interface>"
},
"name": "get_dbus_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | ||
| path | Yes | ||
| interface | Yes | ||
| name | No | ||
| bus | No | session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||