[
https://issues.apache.org/jira/browse/CAMEL-24309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18101270#comment-18101270
]
Federico Mariani commented on CAMEL-24309:
------------------------------------------
Implementation: [PR #25301|https://github.com/apache/camel/pull/25301]
_Claude Code on behalf of Federico Mariani_
> AiToolRegistry listener SPI for tool registration changes
> ---------------------------------------------------------
>
> Key: CAMEL-24309
> URL: https://issues.apache.org/jira/browse/CAMEL-24309
> Project: Camel
> Issue Type: Sub-task
> Components: camel-ai
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Major
> Labels: ai, mcp
>
> Add a listener SPI to {{AiToolRegistry}} in camel-ai-tool: callbacks fired
> when a tool spec is registered or deregistered (route
> start/stop/suspend/resume).
> Prerequisite for the MCP server's {{tools/list_changed}} notification (MCP
> clients cache {{tools/list}} and rely on the {{listChanged}} capability). The
> existing langchain4j/spring-ai adapters re-query the registry per exchange
> and are unaffected.
> ----
> _This issue was drafted by Claude Code on behalf of Federico Mariani._
--
This message was sent by Atlassian Jira
(v8.20.10#820010)