horizon_torn_getMyAttacks
Retrieve your detailed attacks with filter options for incoming or outgoing, sorted by timestamp. Specify date range and limits to narrow results.
Instructions
Get your detailed attacks
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "horizon_torn_getMyAttacks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Timestamp that sets the upper limit for the data returned. Data returned will be up to and including this time | |
| key | No | API key (Limited).<br>It's not required to use this parameter when passing the API key via the Authorization header. | |
| from | No | Timestamp that sets the lower limit for the data returned. Data returned will be after this time | |
| sort | No | Sorted by the greatest timestamps | |
| limit | No | ||
| comment | No | Comment for your tool/service/bot/website to be visible in the logs. | |
| filters | No | It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives. It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps. | |
| timestamp | No | Timestamp to bypass cache or get the data in specific point in time |