polkit_generate_policy
Generate standards-compliant .policy XML for custom Polkit actions, specifying vendor details and output path.
Instructions
Generate standards-compliant .policy XML definitions for custom actions.
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": {
"actions": "<actions>"
},
"name": "polkit_generate_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | No | Vendor name. | Textile Desktop Intelligence |
| actions | Yes | JSON array of action definitions. | |
| vendor_url | No | Vendor URL. | https://github.com/textile |
| output_path | No | Output file path. |