ERP: Submit report
erp_submit_reportFile a report against an assignment: how much of what, on which date. The kind comes from erp_list_report_types and carries its own unit — pass the number only, not the unit. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"assignment_id": "<assignment_id>",
"report_type_id": "<report_type_id>",
"value": "<value>"
},
"name": "erp_submit_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| comment | No | ||
| report_date | No | ||
| assignment_id | Yes | ||
| report_type_id | Yes |