davsclaus opened a new pull request, #24114:
URL: https://github.com/apache/camel/pull/24114

   ## Summary
   
   - Add optional `includeHeaders` parameter (default `false`) to the 
`camel_catalog_component_doc` MCP tool
   - When `true`, the response includes message header metadata (`CamelXxx` 
names, Java constants, types, consumer/producer group) from the component 
catalog
   - Headers excluded by default to keep responses lean when AI agents only 
need options
   
   ## Test plan
   
   - [x] `componentDocDefaultExcludesHeaders` — `includeHeaders=null` → headers 
empty
   - [x] `componentDocIncludeHeadersReturnsHeaders` — `includeHeaders=true` for 
kafka → headers not empty, contains `CamelKafkaKey` with `constantName`
   - [x] `componentDocIncludeHeadersFalseExcludesHeaders` — 
`includeHeaders=false` → headers empty
   - [x] All existing CatalogToolsTest and McpJsonSerializationTest pass
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to