feat: add read_chord_progression tool for the Agent

This commit is contained in:
Xiaohan-Tian
2026-05-26 17:56:55 -07:00
parent 0f1bad4394
commit 395032390a
6 changed files with 507 additions and 7 deletions
+3 -1
View File
@@ -6,14 +6,16 @@ export type { ToolResult, ToolParameter, ToolDefinition, OpenAIToolDefinition, O
import { AddNotesTool } from './AddNotesTool';
import { RemoveNotesTool } from './RemoveNotesTool';
import { ReadMusicTool } from './ReadMusicTool';
import { ReadChordProgressionTool } from './ReadChordProgressionTool';
export { AddNotesTool, RemoveNotesTool, ReadMusicTool };
export { AddNotesTool, RemoveNotesTool, ReadMusicTool, ReadChordProgressionTool };
// Tool registry for easy access
export const AVAILABLE_TOOLS = {
add_notes: AddNotesTool,
remove_notes: RemoveNotesTool,
read_music: ReadMusicTool,
read_chord_progression: ReadChordProgressionTool,
} as const;
export type ToolName = keyof typeof AVAILABLE_TOOLS;