MCPcopy
hub / github.com/langbot-app/LangBot / Segment

Interface Segment

examples/http-bot/client.ts:45–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45interface Segment { type: string; text?: string; url?: string; [k: string]: unknown }
46
47async function post(url: string, secret: string, payload: object, idempotency = true) {
48 const body = Buffer.from(JSON.stringify(payload));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected