6 lines
175 B
TypeScript
6 lines
175 B
TypeScript
|
|
const WRITE_EDIT_TOOLS = ["Write", "Edit", "write", "edit"]
|
||
|
|
|
||
|
|
export function isWriteOrEditToolName(toolName: string): boolean {
|
||
|
|
return WRITE_EDIT_TOOLS.includes(toolName)
|
||
|
|
}
|