inspect_payroll
Inspects payroll spreadsheets in a folder, returning headers, sample rows, and detected field mappings to identify issues or guide manual overrides for normalization.
Instructions
检查文件夹内每个工资表(.xlsx/.xls/.csv):返回表头、前3行样本、自动识别到的字段映射、应发口径与问题。 当某文件无法自动映射时,模型据此判断每列含义,再在 normalize_payroll 的 overrides 里给出 column_map/entity/ym。
folder: 存放工资表的文件夹绝对路径。
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": {
"folder": "<folder>"
},
"name": "inspect_payroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |