Documentation Index
Fetch the complete documentation index at: https://spec.conveniencepro.cc/llms.txt
Use this file to discover all available pages before exploring further.
Parameter Types
CTP supports 12 distinct parameter types for tool inputs.Parameter Schema
Every parameter MUST include these required fields:| Field | Type | Description |
|---|---|---|
name | string | Identifier (camelCase, max 50 chars) |
type | string | One of the 12 parameter types |
label | string | Display label (max 50 chars) |
description | string | Help text (max 200 chars) |
required | boolean | Whether parameter is required |
Optional Fields
| Field | Type | Description |
|---|---|---|
defaultValue | any | Default if not provided |
placeholder | string | Placeholder text |
options | Option[] | For select type |
validation | object | Validation constraints |
dependsOn | Rule[] | Conditional display rules |
group | string | UI grouping identifier |
order | number | Display order |
hidden | boolean | Hide in UI |
aiHint | string | Guidance for AI models |
Available Types
Text Input Types
text - Single-line text
text - Single-line text
textarea - Multi-line text
textarea - Multi-line text
url - URL input with validation
url - URL input with validation
email - Email input with validation
email - Email input with validation
Numeric Types
number - Numeric input
number - Numeric input
Selection Types
boolean - Toggle/checkbox
boolean - Toggle/checkbox
select - Dropdown selection
select - Dropdown selection
Data Types
json - JSON object input
json - JSON object input
file - File upload
file - File upload
Specialized Types
color - Color picker
color - Color picker
date - Date picker
date - Date picker
datetime - Date and time picker
datetime - Date and time picker
Validation Constraints
| Constraint | Applies To | Description |
|---|---|---|
minLength | text, textarea | Minimum character count |
maxLength | text, textarea | Maximum character count |
pattern | text | Regex pattern to match |
min | number | Minimum numeric value |
max | number | Maximum numeric value |
step | number | Valid step increment |
accept | file | Accepted MIME types |
maxSize | file | Maximum file size (bytes) |
Conditional Parameters
UsedependsOn to show/hide parameters based on other values:
Condition Types
| Condition | Description |
|---|---|
equals | Field equals specified value |
notEquals | Field does not equal value |
contains | Field contains substring |
exists | Field has any value |
AI Hints
Guide AI models with theaiHint field: