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

Method put

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

Source from the content-addressed store, hash-verified

68 }
69
70 put<T>(endpoint: string, data?: unknown, options?: RequestOptions) {
71 return this.request<T>(endpoint, {
72 ...options,
73 method: 'PUT',
74 body: data ? JSON.stringify(data) : undefined,
75 })
76 }
77
78 patch<T>(endpoint: string, data?: unknown, options?: RequestOptions) {
79 return this.request<T>(endpoint, {

Callers 15

accessAuthRoutesFunction · 0.80
taskRoutesFunction · 0.80
previewRoutesFunction · 0.80
profileRoutesFunction · 0.80
projectRoutesFunction · 0.80
appSettingsRoutesFunction · 0.80
notificationRoutesFunction · 0.80
providerRoutesFunction · 0.80
useUpdateTaskFunction · 0.80
useUpdateAppSettingsFunction · 0.80
useUpdateProjectFunction · 0.80
useUpdateVariantFunction · 0.80

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected