install_dependency_async
Asynchronously install a system dependency and return a job ID immediately. Poll with get_install_status to track progress, ideal for installs taking over 10 minutes.
Instructions
Fire-and-poll variant of install_dependency. Returns a jobId immediately and runs the install in the background. Use get_install_status to check progress. Useful when the install might take >10 minutes (e.g., compiling from source, large package downloads on slow networks) or when the agent wants to surface a "still installing…" UI without holding a connection open. The whitelist + platform constraints + polkit/sudo flow are identical to install_dependency.
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": {
"tool": "<tool>"
},
"name": "install_dependency_async"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Which tool to install. | |
| dryRun | No | If true, return the install command without actually running it. |