You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "Croway (via GitHub)" <gi...@apache.org> on 2026/05/26 15:56:49 UTC
[PR] CAMEL-23621: filter tool argument headers against declared parameters [camel]
Croway opened a new pull request, #23535:
URL: https://github.com/apache/camel/pull/23535
## Summary
- Filter LLM tool argument field names against the tool's declared parameter schema before setting them as Exchange headers
- Affects `camel-langchain4j-tools`, `camel-langchain4j-agent`, and `camel-spring-ai-tools`
- Undeclared field names are logged at WARN level and skipped
- If no parameters are declared, all fields pass through for backwards compatibility
## Test plan
- [x] New test `testUndeclaredToolArgumentsAreNotPropagatedAsHeaders` verifies undeclared fields are filtered
- [x] All existing tests pass (10/10 in camel-langchain4j-tools)
- [x] All three modules compile cleanly
_Claude Code on behalf of Federico Mariani_
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23621: filter tool argument headers against declared parameters [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23535:
URL: https://github.com/apache/camel/pull/23535#issuecomment-4546634727
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23621: filter tool argument headers against declared parameters [camel]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway merged PR #23535:
URL: https://github.com/apache/camel/pull/23535
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org