13 lines
262 B
TypeScript
13 lines
262 B
TypeScript
import { Anthropic } from "@anthropic-ai/sdk"
|
|
|
|
export type ToolName =
|
|
| "write_to_file"
|
|
| "read_file"
|
|
| "list_files"
|
|
| "execute_command"
|
|
| "ask_followup_question"
|
|
| "attempt_completion"
|
|
|
|
export type Tool = Omit<Anthropic.Tool, "name"> & {
|
|
name: ToolName
|
|
} |