Gokapi Logs
gokapi_logsRetrieve Gokapi server logs, check system status, reset traffic statistics, or delete old log entries by specifying the desired log operation and its parameters.
Instructions
gokapi logs operations on Gokapi. Pass operation and an arguments dict matching that operation's parameters.
gokapi_logs_delete(timestamp=None) - Delete log entries (DELETE /api/logs/delete, admin only). timestamp is the cutoff unix epoch - older entries are deleted; omit to delete all.
gokapi_logs_get(timestamp=None) - Get server logs (GET /api/logs/get). timestamp optionally filters to entries newer than a unix epoch.
gokapi_logs_resettraffic() - Reset the traffic statistic (DELETE /api/logs/resetTraffic, admin only).
gokapi_logs_systemstatus() - Get server status information (GET /api/logs/systemStatus).
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": {
"operation": "<operation>"
},
"name": "gokapi_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |