campaign_costs_get_list
Retrieve campaign cost data by specifying tenant ID, year, month, and optional filters like page size or sorting. Includes total count if needed for detailed analysis.
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": {
"tenant": "<tenant>"
},
"name": "campaign_costs_get_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | No | Format - int64. Campaign ID | |
| includeTotal | No | Whether total count should be returned | |
| month | No | Format - int32. Month | |
| page | No | Format - int32. The logical number of page to return, starting from 1 | |
| pageSize | No | Format - int32. How many records to return (50 by default) | |
| sort | No | Applies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: Id, Date (Year + Month) | |
| tenant | Yes | Format - int64. Tenant ID | |
| year | No | Format - int32. Year |