ZIm/crates/assistant_tools/src
Nate Butler acc4a5ccb3
Add example agent tool preview (#28984)
This PR adds an example of rendering previews for tools using the new
Agent ToolCard style.

![CleanShot 2025-04-17 at 13 03
12@2x](https://github.com/user-attachments/assets/d4c7d266-cc32-4038-9170-f3e070fce60e)

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
2025-04-17 17:29:19 +00:00
..
batch_tool Add Batch tool call for calling multiple tools (#27621) 2025-03-27 18:21:26 -04:00
code_action_tool Add code action tool and rename tool (#28453) 2025-04-09 22:38:01 -04:00
code_symbols_tool Add Code Symbols tool (#27733) 2025-03-31 05:13:13 +00:00
contents_tool Add contents_tool (#28738) 2025-04-15 00:54:25 -04:00
copy_path_tool Add copy-path tool (#27371) 2025-03-24 21:21:55 -04:00
create_directory_tool Add Create Directory Tool (#27505) 2025-03-26 11:59:03 -04:00
create_file_tool Add create-file-tool (#27381) 2025-03-25 10:56:41 -04:00
delete_path_tool Delete tool uses paths instead of globs (#26715) 2025-03-16 11:58:25 +01:00
diagnostics_tool assistant2: Change system prompt to discourage doom loops (#27781) 2025-03-31 14:03:47 +00:00
fetch_tool assistant_tools: Add fetch tool (#26999) 2025-03-18 16:25:51 +00:00
find_replace_tool Add code action tool and rename tool (#28453) 2025-04-09 22:38:01 -04:00
list_directory_tool Add ListDirectoryTool (#26549) 2025-03-12 15:17:12 +00:00
move_path_tool Add move_path tool (#27366) 2025-03-24 14:45:19 +00:00
open_tool Add Open Tool (#27499) 2025-03-27 18:20:59 -04:00
path_search_tool Paginate regex and path search tools (#26997) 2025-03-18 15:44:41 +00:00
read_file_tool If file is too big, provide the outline and suggest a follow-up tool (#28158) 2025-04-05 18:52:52 -04:00
regex_search_tool Add symbol info tool (#27742) 2025-03-31 00:23:03 -04:00
rename_tool Add code action tool and rename tool (#28453) 2025-04-09 22:38:01 -04:00
symbol_info_tool Add symbol info tool (#27742) 2025-03-31 00:23:03 -04:00
terminal_tool agent: Use current shell (#28470) 2025-04-09 23:38:36 -06:00
thinking_tool Add thinking tool (#26675) 2025-03-14 16:26:22 -04:00
assistant_tools.rs agent: Add websearch tool (#28621) 2025-04-16 19:25:00 +02:00
batch_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
code_action_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
code_symbols_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
contents_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
copy_path_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
create_directory_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
create_file_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
delete_path_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
diagnostics_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
fetch_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
find_replace_file_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
list_directory_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
move_path_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
now_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
open_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
path_search_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
read_file_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
regex_search_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
rename_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
replace.rs Improve tracking for agent edits (#27857) 2025-04-01 22:13:28 +00:00
schema.rs agent: Improve compatibility when using MCP servers with Gemini models (#28700) 2025-04-14 21:55:25 +02:00
symbol_info_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
terminal_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
thinking_tool.rs agent: Return ToolResult from run inside Tool (#28763) 2025-04-15 14:28:09 +00:00
web_search_tool.rs Add example agent tool preview (#28984) 2025-04-17 17:29:19 +00:00