MCPcopy Create free account
hub / github.com/TanStack/ai / approveToolCall

Function approveToolCall

testing/e2e/tests/helpers.ts:122–124  ·  view source on GitHub ↗
(page: Page, toolName: string)

Source from the content-addressed store, hash-verified

120}
121
122export async function approveToolCall(page: Page, toolName: string) {
123 await page.getByTestId(`approve-button-${toolName}`).click()
124}
125
126export async function denyToolCall(page: Page, toolName: string) {
127 await page.getByTestId(`deny-button-${toolName}`).click()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected