document_add_security_requirement
Add security requirements to an API document or specific operation with session and requirement mapping, optionally specifying path and method.
Instructions
Add a security requirement to the document or to a specific operation
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>",
"requirement": "<requirement>"
},
"name": "document_add_security_requirement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | API path (required if applying to an operation) | |
| method | No | HTTP method (required if applying to an operation) | |
| session | Yes | Session name | |
| requirement | Yes | JSON object mapping scheme names to scopes (e.g. {"bearerAuth":[]}) |