MCPcopy Index your code
hub / github.com/callstack/agent-device / stringSchema

Function stringSchema

src/commands/command-input.ts:91–93  ·  view source on GitHub ↗
(description?: string)

Source from the content-addressed store, hash-verified

89}
90
91export function stringSchema(description?: string): JsonSchema {
92 return { type: 'string', ...(description ? { description } : {}) };
93}
94
95function numberSchema(description?: string): JsonSchema {
96 return { type: 'number', ...(description ? { description } : {}) };

Callers 6

index.tsFile · 0.90
push.tsFile · 0.90
app.tsFile · 0.90
interactionResultSchemaFunction · 0.90
stringFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected