create_method_parameter
Create input or output parameters for datasource type methods. Specify whether the parameter is passed when calling the method or returned as a dict key.
Instructions
Create input or output parameter for a datasource type method. Input parameters (input_type=true) are passed when calling the method. Output parameters (input_type=false) are returned as dict from the method.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"method_id": "<method_id>",
"label": "<label>",
"value_type_id": "<value_type_id>"
},
"name": "create_method_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Parameter label - variable name in method code (snake_case, English) | |
| is_hidden | No | Is hidden | |
| method_id | Yes | Method ID | |
| input_type | No | true = INPUT parameter (passed to method), false = OUTPUT parameter (returned from method as dict key) | |
| description | No | Description | |
| default_value | No | Default value | |
| value_type_id | Yes | Value type ID (use list_value_types). IMPORTANT: Do NOT use 'Список' or 'Справочник' types - use 'Объект' instead | |
| default_dict_value_id | No | Default dictionary value ID (for dictionary properties) |