application_modify_role_connection_metadata
Replace role connection metadata for a Discord app, removing any existing records not included. Returns the updated records and count.
Instructions
Purpose: Replace the application role-connection metadata records (max 5).
This is a wholesale replace - any existing record not in records is removed.
Returns: {records, count} after the update.
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": {
"application_id": "<application_id>",
"records": "<records>"
},
"name": "application_modify_role_connection_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Up to 5 metadata records - wholesale replace. | |
| application_id | Yes | Bot/app application ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||