MCPcopy Create free account
hub / github.com/cloudflare/agents / appendFile

Method appendFile

examples/assistant/src/server.ts:433–439  ·  view source on GitHub ↗
(
    path: string,
    content: string,
    mimeType?: Parameters<Workspace["appendFile"]>[2]
  )

Source from the content-addressed store, hash-verified

431 }
432
433 async appendFile(
434 path: string,
435 content: string,
436 mimeType?: Parameters<Workspace["appendFile"]>[2]
437 ): Promise<void> {
438 return this.workspace.appendFile(path, content, mimeType);
439 }
440
441 async exists(path: string): Promise<boolean> {
442 return this.workspace.exists(path);

Callers

nothing calls this directly

Calls 1

appendFileMethod · 0.65

Tested by

no test coverage detected