document_add_schema_enum
Set enum values on a schema node in an OpenAPI or AsyncAPI document. Provide the node path and a JSON array of allowed values.
Instructions
Set enum values on a schema
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>",
"nodePath": "<nodePath>",
"values": "<values>"
},
"name": "document_add_schema_enum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | JSON array of enum values (e.g. ["active","inactive"]) | |
| session | Yes | Session name | |
| nodePath | Yes | Node path to the schema |