stacks.recommend
Recommends a complete stack from BuyAPI's corpus with a structured decision matrix, cost estimate, assumptions, unknowns, alternatives, and sources.
Use this when the user is starting a project or asks for a complete multi-layer stack choice. Do not use this for local coding/debugging/docs questions that do not involve software or vendor selection. Do not call vendors.resolve first; this tool handles retrieval and ranking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workload | No | Explicit workload assumptions for directional cost estimates. Missing fields become assumptions, not fabricated precision. | |
| stackFacts | No | Optional derived stack facts such as languages, frameworks, runtimes, package managers, test tools, and dev workflow. Do not pass source code or secrets. | |
| constraints | No | Budget, scale, existing tools, team size, compliance needs | |
| stackContext | No | Optional existing stack context from a repo scan or saved private stack. Agents should pass derived tool metadata only, not source code. | |
| projectDescription | Yes | What the user is building |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | No | ||
| claims | No | ||
| sources | No | ||
| coverage | No | ||
| unknowns | No | ||
| costEstimate | No | ||
| decisionMatrix | No | ||
| alternativesConsidered | No |