MCPcopy Create free account
hub / github.com/OperationT00/T-Code / createThread

Method createThread

clients/t-code-cli/src/runtime-client.ts:41–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 }
40
41 async createThread(): Promise<string> {
42 const body = await this.requestJson("/v1/threads", { method: "POST" });
43 return requiredString(body, "id");
44 }
45
46 async submitTurn(threadId: string, input: string): Promise<string> {
47 const body = await this.requestJson(`/v1/threads/${threadId}/turns`, {

Callers 2

index.tsFile · 0.45

Calls 2

requestJsonMethod · 0.95
requiredStringFunction · 0.85

Tested by

no test coverage detected