pub fn resolve_step(
step: &ProcedureStep,
requirements: &[McpRequirement],
inventory: &McpInventory,
) -> ResolutionExpand description
Resolve a single procedure step against the agent’s MCP inventory.
Decision tree:
toolset +intentunset →Literal(tool)(pre-M6b behaviour).tool_hintset + inventory match →Hint(tool).intentset +mcp_requirementsglob matches an inventory tool →IntentMatch(shortest tool, capability).intentset + no glob match butfallbackin inventory →Fallback(fallback).- Otherwise →
Unresolved { reason }.