Match activity to candidate factors
match_activityMap an activity or ledger-account description (for example an electricity bill, fleet fuel, or a plastic resin purchase) plus an optional unit to candidate official factors. Returns candidates with unit compatibility, applicability conditions and the questions the user must answer; it never picks one. Use this when the user's wording is not an official factor name, then confirm with the user before calling calculate_emissions. The term mapping is curated by this service, not official. 把活動或會計科目的描述(例如電費、公務車加油、塑膠原料採購)與單位對到候選的官方係數,回傳每筆的單位相容性、適用條件與需要使用者回答的問題;不會代為選定。使用者的說法不是官方係數名稱時用這個工具,並在呼叫 calculate_emissions 之前先向使用者確認。用詞對照是本服務整理的,不是官方資料。
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": {
"description": "<description>"
},
"name": "match_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | 活動數據的單位,例如 kWh、度、L、kg。有給就會檢查每筆候選的單位是否相容。 | |
| year | No | 活動發生的年度(西元)。不給時,逐年公布的係數只列最新年度。 | |
| limit | No | 回傳的候選筆數,預設 10,上限 25。 | |
| description | Yes | 活動或會計科目的描述,例如「10 月電費」「公務車加油」「塑膠原料採購」。 |