[
https://issues.apache.org/jira/browse/CAMEL-23074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Mariani updated CAMEL-23074:
-------------------------------------
Description:
at the moment it is not possible to define required tools in
camel-langchain4j-tools. Provide a similar behaviour like the camel-spring-ai
one to define required Tools parameters.
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 (C or F)"
+ "¶meter.unit.required=false"){code}
was:at the moment it is not possible to define required tools in
camel-langchain4j-tools. Provide a similar behaviour like the camel-spring-ai
one to define required Tools parameters
> camel-langchain4j-tools - Handle required Tool parameters
> ---------------------------------------------------------
>
> 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 in
> camel-langchain4j-tools. Provide a similar behaviour like the camel-spring-ai
> one to define required Tools parameters.
> 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 (C or F)"
> + "¶meter.unit.required=false"){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)