MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / withFileEmitHint

Function withFileEmitHint

packages/plugins/openapi/src/sdk/backing.ts:228–229  ·  view source on GitHub ↗
(description: string, returnsFile: boolean)

Source from the content-addressed store, hash-verified

226 "Do not rebuild the envelope or read upstream fields like size.";
227
228const withFileEmitHint = (description: string, returnsFile: boolean): string =>
229 returnsFile ? `${description}\n\n${FILE_OUTPUT_HINT}` : description;
230
231export interface CompiledOpenApiSpec {
232 readonly definitions: readonly ToolDefinition[];

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected