aws_composition_for
Look up composition rules and peer suggestions for AWS primitives
aws_composition_for
Look up composition rules and peer suggestions for AWS primitives.
Returns the curated composition knowledge — composition rules and suggested peer components — for a set of AWS primitives. Use this to discover what typically deploys alongside a chosen primitive, and to surface the rules the deterministic resolver applies when planning.
- Family: knowledge
- Source:
cbx-mcp/src/cbx_mcp/tools/knowledge.py::aws_composition_for - Backend:
POST /v1/knowledge/aws/composition
Input schema
The MCP tool forwards type_ids to the backend's composition
endpoint as {"type_ids": [...]}. The list must be non-empty
(min_length=1 on the backend).
Output schema
On success the tool returns the backend's PublicKnowledgeResponse
wrapped in the standard MCP envelope:
Chunks in this response typically carry category values like
composition_rule or peer_suggestion. The type_ids field on each
chunk names the primitives the rule applies to, so callers can chain
into aws_lookup_primitive or
aws_resolve_composition without
re-querying.
Example call
Example result
Illustrative — real responses include several chunks covering peer suggestions and applicable rules.