Set when a client can revise a form
set_form_assignment_editable_untilSet the last day (YYYY-MM-DD, in the gig's time zone) on which the client can revise the answers to a form assignment. The day only bounds revisions: the client's first answer is always accepted. The day applies even when it falls after the gig. From the next day the client sees a locked response and the stored answers do not change. Pass null to follow the gig: the answers stay revisable until the gig is over, or at any time when the assignment has no gig. Staff can always edit. Requires crm.manage and the crm flag. Runs on the first call; there is no confirmation step.
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>",
"editable_until": "<editable_until>"
},
"name": "set_form_assignment_editable_until"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assignment_id | Yes | the form assignment id | |
| editable_until | Yes | last day the client may revise, or null to follow the gig | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { id, form_id, party { kind, id, user_id, name, email, portal_capable }, customer_id, org_member_id, user_id, assignee_name, required, event_id, due_at, form_title, purpose, can_share_link, email_status, emailed_to, editable_until, event_title, event_date, and 17 more fields } } | |
| error | No | when ok is false |