create_resource
Create a Logto API resource and define its audience indicator so access tokens target the correct API. Set the resource name, URI indicator, and optional token lifetime.
Instructions
Create a Logto API resource. The indicator is the audience (aud) of its access tokens.
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": {
"name": "<name>",
"indicator": "<indicator>"
},
"name": "create_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | API resource name | |
| indicator | Yes | Resource indicator (an absolute URI, e.g. https://api.example.com) | |
| accessTokenTtl | No | Access token lifetime in seconds |