Skip to content

Add detail to all AI tools#315

Merged
hendrikmennen merged 1 commit into
mainfrom
feat/ai-tool-details
Jul 15, 2026
Merged

Add detail to all AI tools#315
hendrikmennen merged 1 commit into
mainfrom
feat/ai-tool-details

Conversation

@hendrikmennen

Copy link
Copy Markdown
Contributor

Summary

Previously only readFile and editFile provided a DetailExtractor, so the chat tool message showed a helpful detail (e.g. the relative file path) only for those two. This adds a DetailExtractor to every remaining built-in AI tool so they all surface a short detail while running.

Details added

Tool Detail shown
getActiveProject active project
getOpenFiles open files
getFocusedFile relative path of the focused file
getErrorsForFile relative path of the target file
getAllErrors all errors
runTerminalCommand the shell command
openIDESettings IDE settings

Argument-based tools show the relevant path/command; parameterless tools show a concise static label, consistent with the existing readFile/editFile behavior.

Testing

  • dotnet build src/OneWare.Chat succeeds (only pre-existing warnings).

Every built-in AI tool now surfaces a short detail in the chat tool
message while running, matching readFile/editFile. Argument-based tools
show the relevant path/command; parameterless tools show a static label.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@hendrikmennen
hendrikmennen merged commit 24688a7 into main Jul 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant