document_add_parameter_definition
Add reusable parameter definitions, such as pageSize or Authorization, to OpenAPI or AsyncAPI document components for consistent parameter usage.
Instructions
Add a reusable parameter definition to the document components
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": {
"session": "<session>",
"name": "<name>",
"parameter": "<parameter>"
},
"name": "document_add_parameter_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Parameter definition name (e.g. pageSize, Authorization) | |
| session | Yes | Session name | |
| parameter | Yes | JSON string with the parameter definition |