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

Function integerSchema

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

Source from the content-addressed store, hash-verified

97}
98
99export function integerSchema(description?: string): JsonSchema {
100 return { type: 'integer', ...(description ? { description } : {}) };
101}
102
103export function booleanSchema(description?: string): JsonSchema {
104 return { type: 'boolean', ...(description ? { description } : {}) };

Callers 1

integerSchemaWithBoundsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…