Guillaume Nodet created CAMEL-23638:
---------------------------------------
Summary: camel-jbang - Add CLI meta-tools to camel ask for full
command access
Key: CAMEL-23638
URL: https://issues.apache.org/jira/browse/CAMEL-23638
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Reporter: Guillaume Nodet
Fix For: 4.x
Currently camel ask has ~26 hardcoded tool definitions. New CLI features like
`camel get error --diagram` are not automatically available to the LLM.
This adds 3 CLI meta-tools to camel ask that give the LLM progressive access to
the entire CLI:
- `cli_list_commands(filter)` - Discover available commands from the
auto-generated metadata
- `cli_command_help(command)` - Get detailed help for a specific command
- `cli_exec(command)` - Execute any CLI command in-process and return output
The existing curated tools are preserved for common operations. The meta-tools
serve as an escape hatch for the full 126-command CLI.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)