get_harvest_data_by_resource
Retrieve Harvest sensor data for specific IoT resources by type and ID within defined time ranges using the SORACOM Data Reader MCP server.
Instructions
リソースタイプとIDでHarvest Dataを取得します
Args: resource_type: リソースタイプ(subscriber, device など) resource_id: リソースID from_time: 取得開始時刻(UNIXタイムスタンプ・ミリ秒) to_time: 取得終了時刻(UNIXタイムスタンプ・ミリ秒) sort: ソート順(asc: 古い順, desc: 新しい順) limit: 取得件数(最大1000) last_evaluated_key: ページング用キー
Returns: Harvest Dataのリストと次ページのキー
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_type": "<resource_type>",
"resource_id": "<resource_id>"
},
"name": "get_harvest_data_by_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_type | Yes | ||
| resource_id | Yes | ||
| from_time | No | ||
| to_time | No | ||
| sort | No | desc | |
| limit | No | ||
| last_evaluated_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||