resource_control
Start, stop, or restart a FiveM server resource and verify its new state to confirm the control action succeeded.
Instructions
Start, stop or restart a resource on the server and verify its new state
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": {
"resource": "<resource>",
"action": "<action>"
},
"name": "resource_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| server | No | ||
| resource | Yes |