MCPcopy
hub / github.com/ComposioHQ/composio / ParameterSchema

Interface ParameterSchema

docs/types/toolkit.ts:2–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Parameter schema for tool inputs/outputs
2export interface ParameterSchema {
3 type: string;
4 description?: string;
5 required?: boolean;
6 default?: unknown;
7 example?: unknown;
8 enum?: string[];
9 // Nested object properties (JSON Schema)
10 properties?: Record<string, ParameterSchema>;
11 // Required fields within this object
12 requiredFields?: string[];
13 // Array item schema
14 items?: ParameterSchema;
15 // Additional properties schema (for map/dictionary types)
16 additionalProperties?: ParameterSchema | boolean;
17}
18
19export interface Tool {
20 slug: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…