memory_store_state
Record a state event by saving an entity's metric value with optional unit and tags to the memory store.
Instructions
存一条状态事件到记忆库:某实体(entity)在某个指标(metric)上的数值(value),可带单位与标签。
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": {
"entity": "<entity>",
"metric": "<metric>",
"value": "<value>"
},
"name": "memory_store_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | unix 时间戳秒,默认当前 | |
| tags | No | 标签,可选 | |
| unit | No | 单位,可选 | |
| value | Yes | 数值 | |
| entity | Yes | 实体名,如 gpu/cpu/user/repo | |
| metric | Yes | 指标名,如 temperature/usage/purity |