MCPcopy Create free account

hub / github.com/cloudflare/mcp / functions

Functions369 in github.com/cloudflare/mcp

Methodbefore
(content: string | ReadableStream | Response, options?: ContentOptions)
worker-configuration.d.ts:1576
Methodblob
()
worker-configuration.d.ts:2027
MethodblockConcurrencyWhile
(callback: () => Promise<T>)
worker-configuration.d.ts:562
Methodbody
()
worker-configuration.d.ts:2021
MethodbodyUsed
()
worker-configuration.d.ts:2022
Methodbtoa
(data: string)
worker-configuration.d.ts:340
Methodbytes
()
worker-configuration.d.ts:2024
Methodcancel
* The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled. * * [MDN Reference]
worker-configuration.d.ts:2194
Methodclear
* The **`console.clear()`** static method clears the console if possible. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/con
worker-configuration.d.ts:156
MethodclearInterval
(timeoutId: number | null)
worker-configuration.d.ts:347
MethodclearTimeout
(timeoutId: number | null)
worker-configuration.d.ts:344
Methodclone
* The **`clone()`** method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.
worker-configuration.d.ts:1706
Methodclone
* The **`clone()`** method of the Request interface creates a copy of the current `Request` object. * * [MDN Reference](https://developer.mo
worker-configuration.d.ts:1781
Methodclose
* The **`WebSocket.close()`** method closes the already `CLOSED`, this method does nothing. * * [MDN Reference](https://developer.mozilla.or
worker-configuration.d.ts:3108
Methodclosed
()
worker-configuration.d.ts:3170
Methodcomments
(comment: Comment)
worker-configuration.d.ts:1525
Methodcomments
(comment: Comment)
worker-configuration.d.ts:1530
Methodcomplete
(uploadedParts: R2UploadedPart[])
worker-configuration.d.ts:1999
Methodconstructor
(message: string)
src/metrics.ts:63
Methodconstructor
( private toolCall: { userId?: string toolName: string errorCode?: number } )
src/metrics.ts:140
Methodconstructor
( private authUser: { userId?: string errorMessage?: string } )
src/metrics.ts:165
Methodconstructor
( private wae: AnalyticsEngineDataset | undefined, private serverInfo: ServerInfo )
src/metrics.ts:190
Methodconstructor
( code: string, description: string, statusCode = 400, headers: Record<string, string> = {}
src/auth/workers-oauth-utils.ts:48
MethodcontentType
* The content type of the returned image
worker-configuration.d.ts:9872
MethodcontentType
* Returns the MIME type of the transformed media. * @returns The content type string (e.g., 'image/jpeg', 'video/mp4')
worker-configuration.d.ts:9938
Methodcount
* The **`console.count()`** static method logs the number of times that this particular call to `count()` has been called. * * [MDN Referenc
worker-configuration.d.ts:162
MethodcountReset
* The **`console.countReset()`** static method resets counter used with console/count_static. * * [MDN Reference](https://developer.mozilla.
worker-configuration.d.ts:168
MethoddatabaseSize
()
worker-configuration.d.ts:3144
Methoddebug
* The **`console.debug()`** static method outputs a message to the console at the 'debug' log level. * * [MDN Reference](https://developer.m
worker-configuration.d.ts:174
Methoddelete
(key: string, options?: DurableObjectPutOptions)
worker-configuration.d.ts:579
Methoddelete
(key: string, options?: DurableObjectPutOptions)
worker-configuration.d.ts:592
Methoddelete
(key: string)
worker-configuration.d.ts:3328
MethoddeleteAlarm
(options?: DurableObjectSetAlarmOptions)
worker-configuration.d.ts:584
MethoddeleteAlarm
(options?: DurableObjectSetAlarmOptions)
worker-configuration.d.ts:598
MethoddeleteAll
(options?: DurableObjectPutOptions)
worker-configuration.d.ts:594
MethoddeserializeAttachment
()
worker-configuration.d.ts:3110
Methoddestroy
(error?: any)
worker-configuration.d.ts:3249
Methoddir
* The **`console.dir()`** static method displays a list of the properties of the specified JavaScript object. * * [MDN Reference](https://de
worker-configuration.d.ts:180
Methoddirxml
* The **`console.dirxml()`** static method displays an interactive tree of the descendant elements of the specified XML/HTML element. * * [M
worker-configuration.d.ts:186
Methoddoctype
(doctype: Doctype)
worker-configuration.d.ts:1529
Methoddraw
* Draw an image on this transformer, returning a transform handle. * You can then apply more transformations, draw, or retrieve the output.
worker-configuration.d.ts:9853
Methoddup
()
worker-configuration.d.ts:10163
Methodelement
(element: Element)
worker-configuration.d.ts:1524
Methodend
(end: DocumentEnd)
worker-configuration.d.ts:1532
Methodequals
(other: DurableObjectId)
worker-configuration.d.ts:532
Methodexec
(query: string, ...bindings: any[])
worker-configuration.d.ts:3143
Methodfetch
(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>)
worker-configuration.d.ts:351
Methodfetch
(request: Request)
src/tools/execute.ts:35
Methodforward
* Forward this email message to a verified destination address of the account. * @param rcptTo Verified destination address. * @param header
worker-configuration.d.ts:9637
MethodfromTrace
(item: TraceItem)
worker-configuration.d.ts:2747
Methodget
(key: string, options?: DurableObjectGetOptions)
worker-configuration.d.ts:574
Methodget
(key: string, options?: DurableObjectGetOptions)
worker-configuration.d.ts:587
Methodget
(key: string)
worker-configuration.d.ts:3322
Methodget
(name: string | null, getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>)
worker-configuration.d.ts:3345
Methodget
* Retrieve the current stored value
worker-configuration.d.ts:9700
Methodget
* Get a secret from the Secrets Store, returning a string of the secret value * if it exists, or throws an error if it does not exist
worker-configuration.d.ts:10350
Methodget
* @param name Name of the Worker script. * @param args Arguments to Worker script. * @param options Options for Dynamic Dispatch invocation.
worker-configuration.d.ts:10868
MethodgetAlarm
(options?: DurableObjectGetAlarmOptions)
worker-configuration.d.ts:582
MethodgetAlarm
(options?: DurableObjectGetAlarmOptions)
worker-configuration.d.ts:596
MethodgetAttribute
(name: string)
worker-configuration.d.ts:1544
MethodgetBookmarkForTime
(timestamp: number | Date)
worker-configuration.d.ts:604
MethodgetCurrentBookmark
()
worker-configuration.d.ts:603
MethodgetHibernatableWebSocketEventTimeout
()
worker-configuration.d.ts:569
MethodgetReader
* The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it. * * [MDN Reference](https://deve
worker-configuration.d.ts:2200
MethodgetTags
(ws: WebSocket)
worker-configuration.d.ts:570
MethodgetTcpPort
(port: number)
worker-configuration.d.ts:3251
MethodgetUnredacted
()
worker-configuration.d.ts:2704
MethodgetWebSocketAutoResponse
()
worker-configuration.d.ts:566
MethodgetWebSocketAutoResponseTimestamp
(ws: WebSocket)
worker-configuration.d.ts:567
MethodgetWebSockets
(tag?: string)
worker-configuration.d.ts:564
MethodgetWithMetadata
(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>)
worker-configuration.d.ts:1889
Methodgroup
* The **`console.group()`** static method creates a new inline group in the Web console log, causing any subsequent console messages to be indented by
worker-configuration.d.ts:198
MethodgroupCollapsed
* The **`console.groupCollapsed()`** static method creates a new inline group in the console. * * [MDN Reference](https://developer.mozilla.
worker-configuration.d.ts:204
MethodgroupEnd
* The **`console.groupEnd()`** static method exits the current inline group in the console. * * [MDN Reference](https://developer.mozilla.or
worker-configuration.d.ts:210
MethodhandleEvent
(event: EventType)
worker-configuration.d.ts:777
MethodhasAttribute
(name: string)
worker-configuration.d.ts:1545
Methodimage
* The bytes of the response
worker-configuration.d.ts:9876
Methodinfo
* The **`console.info()`** static method outputs a message to the console at the 'info' log level. * * [MDN Reference](https://developer.moz
worker-configuration.d.ts:216
Methodinfo
* Get image metadata (type, width and height) * @throws {@link ImagesError} with code 9412 if input is not an image * @param stream The imag
worker-configuration.d.ts:9832
Methodinput
* Begin applying a series of transformations to an image * @param stream The image bytes * @returns A transform handle
worker-configuration.d.ts:9838
Methodinput
* Creates a media transformer from an input stream. * @param media - The input media bytes * @returns A MediaTransformer instance for applyi
worker-configuration.d.ts:9893
Methodlimit
* Rate limit a request based on the provided options. * @see https://developers.cloudflare.com/workers/runtime-apis/bindings/rate-limit/ * @
worker-configuration.d.ts:10114
Methodlist
(options?: DurableObjectListOptions)
worker-configuration.d.ts:576
Methodlist
(options?: DurableObjectListOptions)
worker-configuration.d.ts:589
Methodlist
(options?: SyncKvListOptions)
worker-configuration.d.ts:3323
Methodlocked
* The **`locked`** read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader. * *
worker-configuration.d.ts:2188
FunctionmapBlobs
* Map a named blob object to a positional array. blob1/blob2 are reserved for * the MCP server name/version and are filled in here.
src/metrics.ts:93
FunctionmapDoubles
(doubles: Doubles)
src/metrics.ts:119
Methodmedia
* Returns the transformed media as a readable stream of bytes. * @returns A stream containing the transformed media data
worker-configuration.d.ts:9928
Methodmonitor
()
worker-configuration.d.ts:3248
MethodnoRetry
()
worker-configuration.d.ts:2111
MethodonEndTag
(handler: (tag: EndTag) => void | Promise<void>)
worker-configuration.d.ts:1556
MethodonNextSessionRestoreBookmark
(bookmark: string)
worker-configuration.d.ts:605
Methodopened
()
worker-configuration.d.ts:3171
Methodoutput
* Retrieve the image that results from applying the transforms to the * provided input * @param options Options that apply to the output e.g
worker-configuration.d.ts:9859
Methodoutput
* Generates the final media output with specified options. * @param output - Configuration for the output format and parameters * @returns T
worker-configuration.d.ts:9917
MethodpassThroughOnException
()
worker-configuration.d.ts:481
MethodpipeThrough
* The **`pipeThrough()`** method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or a
worker-configuration.d.ts:2212
MethodpipeTo
* The **`pipeTo()`** method of the ReadableStream interface pipes the current `ReadableStream` to a given WritableStream and returns a Promise that fu
worker-configuration.d.ts:2218
Methodprepend
(content: string | ReadableStream | Response, options?: ContentOptions)
worker-configuration.d.ts:1550
← previousnext →201–300 of 369, ranked by callers