ubuntu_search_packages
Find Ubuntu packages by searching the APT index with a validated query token. Get a compact summary or full command payload as needed.
Instructions
Search APT package index using validated query token.
Args:
query: Search token matching ^[a-zA-Z0-9][a-zA-Z0-9.+-]+$.
detailed: If True, returns full command payload; if False, returns
compact summary with parsed package matches.
Returns:
JSON string in unified {ok, data|error} contract.
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": {
"query": "<query>"
},
"name": "ubuntu_search_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| detailed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |