{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can update an existing content snippet.\n\nRequires the `read_write_content_snippets` OAuth scope.\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"id":{"type":"string","examples":["123"],"description":"The unique identifier for the content snippet."}},"required":["id"],"additionalProperties":false},"body":{"$ref":"#/definitions/content_snippet_update_request","examples":[{"title":"How to reset your password (updated)","json_blocks":[{"type":"paragraph","text":"Go to Settings > Security > Reset password and follow the steps."}],"audience_ids":[1,2]}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"content_snippet_update_request":{"title":"Update Content Snippet Request","type":"object","description":"The request payload for updating a content snippet. All fields are optional — only provided fields will be updated. `json_blocks` and `body_markdown` are mutually exclusive.","properties":{"title":{"type":"string","description":"The title of the content snippet.","maxLength":255,"examples":["How to reset your password"]},"json_blocks":{"type":"array","description":"The content blocks that make up the body of the snippet. Mutually exclusive with `body_markdown`.","items":{"type":"object"},"examples":[[{"type":"paragraph","text":"Navigate to Settings > Security > Reset password."}]]},"body_markdown":{"type":"string","description":"The content of the snippet in markdown. An alternative to `json_blocks` — you can provide content as markdown instead of structured blocks. Mutually exclusive with `json_blocks`.","examples":["## Updated heading\n\nNew content.\n"]},"locale":{"type":"string","description":"The locale of the content snippet.","examples":["en"]},"audience_ids":{"type":["array","null"],"description":"The list of audience IDs to target this content snippet to for Fin AI Agent. Omitting the field leaves existing audience memberships unchanged (PATCH semantics). Pass `[]` to clear all audience memberships. Unknown audience IDs return a `404` error with no partial commit.","items":{"type":"integer"},"examples":[[1,2]]},"ai_chatbot_availability":{"type":"boolean","description":"Whether the content snippet should be available for AI Chatbot (Fin).","examples":[true]},"ai_copilot_availability":{"type":"boolean","description":"Whether the content snippet should be available for AI Copilot.","examples":[true]},"ai_sales_agent_availability":{"type":"boolean","description":"Whether the content snippet should be available for AI Sales Agent.","examples":[true]}}}}},"name":"Update a content snippet","id":"intercom.updatecontentsnippet","example":{"path":{"id":"123"},"body":{}},"maxRequests":1,"summary":false}}