ubuntu_install_package
Verify if a package is installed on Ubuntu using apt list --installed. Get a compact summary or detailed command output for package status.
Instructions
Check installed-package status using apt list --installed.
Despite the name, this tool does not install packages. It is a read-only package inspection helper and runs through command-security validation.
Args:
package_name: Package token matching ^[a-zA-Z0-9][a-zA-Z0-9.+-]+$.
detailed: If True, returns full command payload; if False, returns
compact package summary.
Returns:
JSON string in unified {ok, data|error} contract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detailed | No | ||
| package_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |