MCPcopy Create free account
hub / github.com/agent-tower/core / patch

Method patch

packages/web/src/lib/api-client.ts:78–84  ·  view source on GitHub ↗
(endpoint: string, data?: unknown, options?: RequestOptions)

Source from the content-addressed store, hash-verified

76 }
77
78 patch<T>(endpoint: string, data?: unknown, options?: RequestOptions) {
79 return this.request<T>(endpoint, {
80 ...options,
81 method: 'PATCH',
82 body: data ? JSON.stringify(data) : undefined,
83 })
84 }
85
86 delete<T>(endpoint: string, options?: RequestOptions) {
87 return this.request<T>(endpoint, { ...options, method: 'DELETE' })

Callers 6

taskRoutesFunction · 0.80
teamRunRoutesFunction · 0.80
useUpdateTaskStatusFunction · 0.80
useUpdateMemberPresetFunction · 0.80
useUpdateTeamTemplateFunction · 0.80
usePatchTeamRunMemberFunction · 0.80

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected