upsert_thread_field
Set or update custom field values on a thread to record investigation results such as impact level or app. Uses Plain's snake_case field keys.
Instructions
Set or update a custom field value on a thread. Use this to write investigation results back to the ticket (e.g., impact_level, app, stage). Field keys use Plain's snake_case format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Custom field key in snake_case, e.g. impact_level, app, stage, tenant_id, notion_ticket, github_pr, posthog_session, sentry_session, reported_from, request_feature, agent_readiness | |
| type | No | Plain field schema type. Auto-detected by key (request_feature=BOOL; impact_level/agent_readiness=ENUM; default STRING). Override when writing a key the server doesn't know about. | |
| value | Yes | Field value to set. For boolean fields like request_feature, use 'true' or 'false' | |
| threadId | Yes | The ID of the thread to update |