[
https://issues.apache.org/jira/browse/CAMEL-23074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-23074 started by Federico Mariani.
------------------------------------------------
> camel-langchain4j-tools - Handle required Tool parameters and enums
> -------------------------------------------------------------------
>
> Key: CAMEL-23074
> URL: https://issues.apache.org/jira/browse/CAMEL-23074
> Project: Camel
> Issue Type: Improvement
> Components: camel-langchain4j-tools
> Affects Versions: 4.18.0
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Minor
> Fix For: 4.19.0
>
>
> at the moment it is not possible to define required tools and enums in
> camel-langchain4j-tools. Provide a similar behaviour like the camel-spring-ai
> one.
> For example:
> {code:java}
> from("langchain4j-tools:weather?tags=weather&description=Get weather
> forecast"
> + "¶meter.location=string"
> + "¶meter.location.description=The city and state"
> + "¶meter.location.required=true"
> + "¶meter.unit=string"
> + "¶meter.unit.description=Temperature unit"
> + "¶meter.unit.enum=C,F"
> + "¶meter.unit.required=false"){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)