MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / isEditTool

Function isEditTool

packages/opencode-atomic-hooks/src/handlers/tool.ts:273–275  ·  view source on GitHub ↗
(tool: string)

Source from the content-addressed store, hash-verified

271 * @returns `true` if the tool is known to modify files on disk
272 */
273export function isEditTool(tool: string): boolean {
274 return EDIT_TOOLS.has(tool)
275}
276
277/**
278 * Truncate tool output to the configured maximum length.

Callers 2

handlers.test.tsFile · 0.90
createAfterToolHandlerFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected