Update A Task Item Comment
update_a_task_item_commentUpdate a task item comment by ID, modifying only the fields you specify and returning the updated comment. Requires company, project, and comment IDs for Procore.
Instructions
Updates the task item comment with ID supplied in path. Returns the updated comment. Send only the fields you intend to change; omitted fields keep their current values. Pass the record's fields as top-level arguments — they are nested under "task_item_comment" in the request payload for you. company_id and project_id default to the values set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified task item comment on success. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, project_id, id. Procore API: Core > Tasks. Endpoint: PATCH /rest/v1.0/companies/{company_id}/projects/{project_id}/task_item_comments/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — task Item Comment ID | |
| view | No | Query string parameter — serialization view for the updated comment (default **normal**). | |
| status | No | JSON request body field — the status of the task item at the time of the comment. Standard users who are assigned to a task item cannot change the status to closed or void. | |
| comment | No | JSON request body field — the message of the comment | |
| form_ids | No | JSON request body field — forms to attach to the response | |
| image_ids | No | JSON request body field — images to attach to the response | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| upload_ids | No | JSON request body field — uploads to attach to the response | |
| attachments | No | JSON request body field — attachments. To upload attachments you must upload the entire payload as `multipart/form-data` content-type and specify each parameter as form-data together with `attachments[]` as files. | |
| file_version_ids | No | JSON request body field — file Versions to attach to the response | |
| drawing_revision_ids | No | JSON request body field — drawing Revisions to attach to the response | |
| document_management_document_revision_ids | No | JSON request body field — pDM document to attach to the response |