Resolve installation for one executable
resolve_installationResolve the install and invocation argv for one indexed command provider using a command name and target environment, returning required context instead of guessing.
Instructions
Resolve advisory install and invocation argv for one indexed command provider.
Use this after lookup for one known target; use resolve_installations for several commands,
and do not use it for name availability—use check_executable. environment maps its package
manager to a provider ecosystem before preferences.package narrows candidates; omitted target
facts are returned in required_context rather than guessed. The tool never executes argv or
probes package availability; status and verification distinguish ready, ambiguous,
unsupported, unverified, missing-index, and incomplete-context outcomes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact, case-sensitive executable command name, not a package name or filesystem path; must be 1-255 characters without path separators or control characters. | |
| environment | Yes | Target installation context. Set package_manager to apt, brew, npm, or pip. Depending on the manager, also provide os, distribution, distribution_release, architecture, runtime_version, install_scope (user or project), virtualenv_bin, and has_admin as requested by the result. | |
| preferences | No | Optional provider-selection preferences. Use package to select an exact package when more than one indexed provider exposes the command. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||