MCPcopy Index your code
hub / github.com/TanStack/ai / handleFire

Function handleFire

packages/ai-devtools/src/components/hooks/ToolFixtureForm.tsx:84–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 const handleFire = () => {
85 const fixture = createFixture()
86 if (!fixture) return
87 props.onFire(fixture)
88 }
89
90 const handleSave = () => {
91 setPendingSaveName(`${props.tool.name} fixture`)

Callers

nothing calls this directly

Calls 1

createFixtureFunction · 0.85

Tested by

no test coverage detected