oauth_generate_middleware
Generate OAuth middleware and token validation in a project directory to secure APIs with access token checks.
Instructions
Generate OAuth middleware and token validation (Pro feature)
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": {
"directory": "<directory>"
},
"name": "oauth_generate_middleware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory |