Skip to content

Conversation

@jedrazb
Copy link
Contributor

@jedrazb jedrazb commented Aug 6, 2025

Summary

What I'm not doing?

  • Figuring out how to wire ToolResultType everywhere ... the tool result type can still be any. This just fixes runtime errors as we are returning right type in the response

Screenshot

Built in and custom esql tools work in agent runtime:

Screenshot 2025-08-06 at 12 13 29

@jedrazb jedrazb added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Aug 6, 2025
@jedrazb jedrazb marked this pull request as ready for review August 6, 2025 10:12
@jedrazb jedrazb requested a review from a team as a code owner August 6, 2025 10:12
Copy link
Member

@joemcelroy joemcelroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested works well

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

@jedrazb jedrazb merged commit f4ffe2c into elastic:main Aug 6, 2025
19 checks passed
gergoabraham pushed a commit to gergoabraham/kibana that referenced this pull request Aug 7, 2025
## Summary

- Make esql tools always return `ToolResultType.tabularData`
- Use es cli for building esql query 
- Actually there is a bug with named params, reported here
elastic/elasticsearch-specification#5083

What I'm not doing?
- Figuring out how to wire ToolResultType everywhere ... the tool result
type can still be `any`. This just fixes runtime errors as we are
returning right `type` in the response

### Screenshot

Built in and custom esql tools work in agent runtime:


<img width="682" height="737" alt="Screenshot 2025-08-06 at 12 13 29"
src="https://github.com/user-attachments/assets/9523d82f-58aa-4eab-b653-e8f97f15115e"
/>
@wildemat wildemat mentioned this pull request Aug 7, 2025
10 tasks
denar50 pushed a commit to denar50/kibana that referenced this pull request Aug 8, 2025
## Summary

- Make esql tools always return `ToolResultType.tabularData`
- Use es cli for building esql query 
- Actually there is a bug with named params, reported here
elastic/elasticsearch-specification#5083

What I'm not doing?
- Figuring out how to wire ToolResultType everywhere ... the tool result
type can still be `any`. This just fixes runtime errors as we are
returning right `type` in the response

### Screenshot

Built in and custom esql tools work in agent runtime:


<img width="682" height="737" alt="Screenshot 2025-08-06 at 12 13 29"
src="https://github.com/user-attachments/assets/9523d82f-58aa-4eab-b653-e8f97f15115e"
/>
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Aug 18, 2025
## Summary

- Make esql tools always return `ToolResultType.tabularData`
- Use es cli for building esql query 
- Actually there is a bug with named params, reported here
elastic/elasticsearch-specification#5083

What I'm not doing?
- Figuring out how to wire ToolResultType everywhere ... the tool result
type can still be `any`. This just fixes runtime errors as we are
returning right `type` in the response

### Screenshot

Built in and custom esql tools work in agent runtime:


<img width="682" height="737" alt="Screenshot 2025-08-06 at 12 13 29"
src="https://github.com/user-attachments/assets/9523d82f-58aa-4eab-b653-e8f97f15115e"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants