davsclaus opened a new pull request, #28127:
URL: https://github.com/apache/camel/pull/28127

   Follow-up of 
[CAMEL-25784](https://issues.apache.org/jira/browse/CAMEL-25784) (#28108), from 
the review of #28108: `camel_get_errors` says how the previous run of an 
integration that is not running ended, but its description only spoke of "a 
running integration". An agent picks a tool by its description, so it would not 
call `camel_get_errors` for an integration that stopped, such as one that 
failed to start.
   
   - The description of `camel_get_errors` (the core tool and the 
camel-jbang-mcp server) adds: "For an integration that is not running, it says 
how its previous run ended." It now matches `camel_get_log`, whose description 
says that it gets the log of the previous run.
   - The tools table in camel-jbang-mcp.adoc says both: `camel_get_log` gets 
the log of the previous run (and `previous=true` asks for it while the 
integration runs again), and `camel_get_errors` says how the previous run ended.
   
   ## Tests
   
   - The camel-jbang-core tests of the tools that name `camel_get_errors` pass 
(63: `AskToolsTest`, `AuthoringToolsTest`, `PreviousRunToolsTest`, 
`RepeatedToolCallsTest`, `ToolRegistryTest`), and `AuthoringToolsTest` of 
camel-jbang-mcp (10).
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to