moderate_record
Approve or reject one pending map point using its admin link and map id. Updates a record's status to published, rejected, or pending with an optional reason.
Instructions
Approve or reject one pending point (needs the admin link). Pass the map id it belongs to.
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": {
"id": "<id>",
"record_id": "<record_id>",
"status": "<status>"
},
"name": "moderate_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the map (collection) id | |
| reason | No | ||
| status | Yes | ||
| record_id | Yes |