Return Timesheet
return_timesheetSends one filed timesheet back to its owner with a comment saying what to fix, as the signed-in approver. Its entries return to draft so the person can correct and file it again, and they are notified with the comment. Checked against the same approval rules as approving. Handles "send Alice's week back: Tuesday is on the wrong project".
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": {
"submissionId": "<submissionId>",
"comment": "<comment>"
},
"name": "return_timesheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Not needed when signed in: these tools act as the signed-in approver, and any other ID is refused. Applies only to a workspace connection with no signed-in user, naming who is deciding. | |
| comment | Yes | What the person should fix. Required; they read it. | |
| submissionId | Yes | The week to return, by the submissionId a timesheet approvals list gave. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| returned | No | ||
| submissionId | No |