> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# chatwork

> Chatwork Messaging

**Server path:** `/chatwork` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                    | Description                    |
| ----------------------------------------------------------------------- | ------------------------------ |
| [`chatwork_accept_incoming_request`](#chatwork_accept_incoming_request) | Accept contact request         |
| [`chatwork_create_room`](#chatwork_create_room)                         | Create new group chat          |
| [`chatwork_create_room_link`](#chatwork_create_room_link)               | Create room invite link        |
| [`chatwork_create_room_task`](#chatwork_create_room_task)               | Create new task                |
| [`chatwork_delete_or_leave_room`](#chatwork_delete_or_leave_room)       | Leave or delete group chat     |
| [`chatwork_delete_room_link`](#chatwork_delete_room_link)               | Delete room invite link        |
| [`chatwork_delete_room_message`](#chatwork_delete_room_message)         | Delete message                 |
| [`chatwork_get_contacts`](#chatwork_get_contacts)                       | List contacts                  |
| [`chatwork_get_incoming_requests`](#chatwork_get_incoming_requests)     | List contact requests          |
| [`chatwork_get_me`](#chatwork_get_me)                                   | Get own account info           |
| [`chatwork_get_my_status`](#chatwork_get_my_status)                     | Get unread/mention/task counts |
| [`chatwork_get_my_tasks`](#chatwork_get_my_tasks)                       | List own tasks                 |
| [`chatwork_get_room`](#chatwork_get_room)                               | Get chat info                  |
| [`chatwork_get_room_file`](#chatwork_get_room_file)                     | Get file info                  |
| [`chatwork_get_room_files`](#chatwork_get_room_files)                   | List room files                |
| [`chatwork_get_room_link`](#chatwork_get_room_link)                     | Get room invite link           |
| [`chatwork_get_room_members`](#chatwork_get_room_members)               | List chat members              |
| [`chatwork_get_room_message`](#chatwork_get_room_message)               | Get specific message           |
| [`chatwork_get_room_messages`](#chatwork_get_room_messages)             | List messages                  |
| [`chatwork_get_room_task`](#chatwork_get_room_task)                     | Get task info                  |
| [`chatwork_get_room_tasks`](#chatwork_get_room_tasks)                   | List room tasks                |
| [`chatwork_get_rooms`](#chatwork_get_rooms)                             | List chats                     |
| [`chatwork_post_room_message`](#chatwork_post_room_message)             | Post new message               |
| [`chatwork_read_room_messages`](#chatwork_read_room_messages)           | Mark messages as read          |
| [`chatwork_reject_incoming_request`](#chatwork_reject_incoming_request) | Reject contact request         |
| [`chatwork_unread_room_message`](#chatwork_unread_room_message)         | Mark message as unread         |
| [`chatwork_update_room`](#chatwork_update_room)                         | Update chat info               |
| [`chatwork_update_room_link`](#chatwork_update_room_link)               | Update room invite link        |
| [`chatwork_update_room_members`](#chatwork_update_room_members)         | Bulk update chat members       |
| [`chatwork_update_room_message`](#chatwork_update_room_message)         | Update message                 |
| [`chatwork_update_room_task_status`](#chatwork_update_room_task_status) | Update task status             |

***

## chatwork\_accept\_incoming\_request

Accept contact request

**Parameters:**

| Parameter    | Type    | Required | Default | Description        |
| ------------ | ------- | -------- | ------- | ------------------ |
| `request_id` | integer | Yes      | —       | Contact request ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "request_id": {
        "type": "integer",
        "description": "Contact request ID"
      }
    },
    "required": [
      "PCID",
      "request_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_create\_room

Create new group chat

**Parameters:**

| Parameter              | Type    | Required | Default | Description                                               |
| ---------------------- | ------- | -------- | ------- | --------------------------------------------------------- |
| `description`          | string  | No       | —       | Chat room description                                     |
| `icon_preset`          | string  | No       | —       | Icon type                                                 |
| `link`                 | integer | No       | —       | 0 or 1. Whether to create an invitation link              |
| `link_code`            | string  | No       | —       | Invitation link code (1-50 chars). Random if omitted      |
| `link_need_acceptance` | integer | No       | —       | 0 or 1. Whether admin approval is required for link       |
| `members_admin_ids`    | string  | Yes      | —       | Comma-separated admin account IDs (at least one required) |
| `members_member_ids`   | string  | No       | —       | Comma-separated member account IDs                        |
| `members_readonly_ids` | string  | No       | —       | Comma-separated readonly account IDs                      |
| `name`                 | string  | Yes      | —       | Chat room name (1-255 chars)                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "description": {
        "type": "string",
        "description": "Chat room description"
      },
      "icon_preset": {
        "type": "string",
        "description": "Icon type",
        "enum": [
          "group",
          "check",
          "document",
          "meeting",
          "event",
          "project",
          "business",
          "study",
          "security",
          "star",
          "idea",
          "heart",
          "magcup",
          "beer",
          "music",
          "sports",
          "travel"
        ]
      },
      "link": {
        "type": "integer",
        "description": "0 or 1. Whether to create an invitation link",
        "enum": [
          0,
          1
        ]
      },
      "link_code": {
        "type": "string",
        "description": "Invitation link code (1-50 chars). Random if omitted"
      },
      "link_need_acceptance": {
        "type": "integer",
        "description": "0 or 1. Whether admin approval is required for link",
        "enum": [
          0,
          1
        ]
      },
      "members_admin_ids": {
        "type": "string",
        "description": "Comma-separated admin account IDs (at least one required)"
      },
      "members_member_ids": {
        "type": "string",
        "description": "Comma-separated member account IDs"
      },
      "members_readonly_ids": {
        "type": "string",
        "description": "Comma-separated readonly account IDs"
      },
      "name": {
        "type": "string",
        "description": "Chat room name (1-255 chars)"
      }
    },
    "required": [
      "PCID",
      "members_admin_ids",
      "name"
    ]
  }
  ```
</Expandable>

***

## chatwork\_create\_room\_link

Create room invite link

**Parameters:**

| Parameter         | Type    | Required | Default | Description                                            |
| ----------------- | ------- | -------- | ------- | ------------------------------------------------------ |
| `room_id`         | integer | Yes      | —       | Chat room ID                                           |
| `code`            | string  | No       | —       | Link code (1-50 chars). Random if omitted              |
| `description`     | string  | No       | —       | Link description                                       |
| `need_acceptance` | integer | No       | —       | 0 or 1. Whether admin approval is required (default 1) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "code": {
        "type": "string",
        "description": "Link code (1-50 chars). Random if omitted"
      },
      "description": {
        "type": "string",
        "description": "Link description"
      },
      "need_acceptance": {
        "type": "integer",
        "description": "0 or 1. Whether admin approval is required (default 1)",
        "enum": [
          0,
          1
        ]
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_create\_room\_task

Create new task

**Parameters:**

| Parameter    | Type    | Required | Default | Description                          |
| ------------ | ------- | -------- | ------- | ------------------------------------ |
| `room_id`    | integer | Yes      | —       | Chat room ID                         |
| `body`       | string  | Yes      | —       | Task content (max 65535 chars)       |
| `limit`      | integer | No       | —       | Deadline as Unix timestamp           |
| `limit_type` | string  | No       | —       | Deadline type                        |
| `to_ids`     | string  | Yes      | —       | Comma-separated assignee account IDs |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "body": {
        "type": "string",
        "description": "Task content (max 65535 chars)"
      },
      "limit": {
        "type": "integer",
        "description": "Deadline as Unix timestamp"
      },
      "limit_type": {
        "type": "string",
        "description": "Deadline type",
        "enum": [
          "none",
          "date",
          "time"
        ]
      },
      "to_ids": {
        "type": "string",
        "description": "Comma-separated assignee account IDs"
      }
    },
    "required": [
      "PCID",
      "room_id",
      "body",
      "to_ids"
    ]
  }
  ```
</Expandable>

***

## chatwork\_delete\_or\_leave\_room

Leave or delete group chat

**Parameters:**

| Parameter     | Type    | Required | Default | Description                         |
| ------------- | ------- | -------- | ------- | ----------------------------------- |
| `room_id`     | integer | Yes      | —       | Chat room ID                        |
| `action_type` | string  | Yes      | —       | Whether to leave or delete the room |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "action_type": {
        "type": "string",
        "description": "Whether to leave or delete the room",
        "enum": [
          "leave",
          "delete"
        ]
      }
    },
    "required": [
      "PCID",
      "room_id",
      "action_type"
    ]
  }
  ```
</Expandable>

***

## chatwork\_delete\_room\_link

Delete room invite link

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `room_id` | integer | Yes      | —       | Chat room ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_delete\_room\_message

Delete message

**Parameters:**

| Parameter    | Type    | Required | Default | Description  |
| ------------ | ------- | -------- | ------- | ------------ |
| `room_id`    | integer | Yes      | —       | Chat room ID |
| `message_id` | string  | Yes      | —       | Message ID   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "message_id": {
        "type": "string",
        "description": "Message ID"
      }
    },
    "required": [
      "PCID",
      "room_id",
      "message_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_contacts

List contacts

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_incoming\_requests

List contact requests

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_me

Get own account info

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_my\_status

Get unread/mention/task counts

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_my\_tasks

List own tasks

**Parameters:**

| Parameter                | Type    | Required | Default | Description                                                   |
| ------------------------ | ------- | -------- | ------- | ------------------------------------------------------------- |
| `assigned_by_account_id` | integer | No       | —       | Filter by the account ID of the person who assigned the task. |
| `status`                 | string  | No       | —       | Filter by task status.                                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "assigned_by_account_id": {
        "type": "integer",
        "description": "Filter by the account ID of the person who assigned the task."
      },
      "status": {
        "type": "string",
        "description": "Filter by task status.",
        "enum": [
          "open",
          "done"
        ]
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_room

Get chat info

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `room_id` | integer | Yes      | —       | Chat room ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_room\_file

Get file info

**Parameters:**

| Parameter             | Type    | Required | Default | Description                                                          |
| --------------------- | ------- | -------- | ------- | -------------------------------------------------------------------- |
| `room_id`             | integer | Yes      | —       | Chat room ID                                                         |
| `file_id`             | integer | Yes      | —       | File ID                                                              |
| `create_download_url` | integer | No       | —       | Set to 1 to include a temporary download URL (valid for 30 seconds). |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "file_id": {
        "type": "integer",
        "description": "File ID"
      },
      "create_download_url": {
        "type": "integer",
        "description": "Set to 1 to include a temporary download URL (valid for 30 seconds).",
        "enum": [
          0,
          1
        ]
      }
    },
    "required": [
      "PCID",
      "room_id",
      "file_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_room\_files

List room files

**Parameters:**

| Parameter    | Type    | Required | Default | Description                    |
| ------------ | ------- | -------- | ------- | ------------------------------ |
| `room_id`    | integer | Yes      | —       | Chat room ID                   |
| `account_id` | integer | No       | —       | Filter by uploader account ID. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "account_id": {
        "type": "integer",
        "description": "Filter by uploader account ID."
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_room\_link

Get room invite link

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `room_id` | integer | Yes      | —       | Chat room ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_room\_members

List chat members

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `room_id` | integer | Yes      | —       | Chat room ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_room\_message

Get specific message

**Parameters:**

| Parameter    | Type    | Required | Default | Description  |
| ------------ | ------- | -------- | ------- | ------------ |
| `room_id`    | integer | Yes      | —       | Chat room ID |
| `message_id` | string  | Yes      | —       | Message ID   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "message_id": {
        "type": "string",
        "description": "Message ID"
      }
    },
    "required": [
      "PCID",
      "room_id",
      "message_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_room\_messages

List messages

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                                                         |
| --------- | ------- | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `room_id` | integer | Yes      | —       | Chat room ID                                                                                        |
| `force`   | integer | No       | —       | Set to 1 to get the latest 100 messages regardless of read state. Default is 0 (new messages only). |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "force": {
        "type": "integer",
        "description": "Set to 1 to get the latest 100 messages regardless of read state. Default is 0 (new messages only).",
        "enum": [
          0,
          1
        ]
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_room\_task

Get task info

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `room_id` | integer | Yes      | —       | Chat room ID |
| `task_id` | integer | Yes      | —       | Task ID      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "task_id": {
        "type": "integer",
        "description": "Task ID"
      }
    },
    "required": [
      "PCID",
      "room_id",
      "task_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_room\_tasks

List room tasks

**Parameters:**

| Parameter                | Type    | Required | Default | Description                    |
| ------------------------ | ------- | -------- | ------- | ------------------------------ |
| `room_id`                | integer | Yes      | —       | Chat room ID                   |
| `account_id`             | integer | No       | —       | Filter by assignee account ID. |
| `assigned_by_account_id` | integer | No       | —       | Filter by assigner account ID. |
| `status`                 | string  | No       | —       | Filter by task status.         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "account_id": {
        "type": "integer",
        "description": "Filter by assignee account ID."
      },
      "assigned_by_account_id": {
        "type": "integer",
        "description": "Filter by assigner account ID."
      },
      "status": {
        "type": "string",
        "description": "Filter by task status.",
        "enum": [
          "open",
          "done"
        ]
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_get\_rooms

List chats

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## chatwork\_post\_room\_message

Post new message

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                              |
| ------------- | ------- | -------- | ------- | -------------------------------------------------------- |
| `room_id`     | integer | Yes      | —       | Chat room ID                                             |
| `body`        | string  | Yes      | —       | Message body (1-65535 chars)                             |
| `self_unread` | integer | No       | —       | 0 (default, mark as read) or 1 (mark as unread for self) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "body": {
        "type": "string",
        "description": "Message body (1-65535 chars)"
      },
      "self_unread": {
        "type": "integer",
        "description": "0 (default, mark as read) or 1 (mark as unread for self)",
        "enum": [
          0,
          1
        ]
      }
    },
    "required": [
      "PCID",
      "room_id",
      "body"
    ]
  }
  ```
</Expandable>

***

## chatwork\_read\_room\_messages

Mark messages as read

**Parameters:**

| Parameter    | Type    | Required | Default | Description                                                |
| ------------ | ------- | -------- | ------- | ---------------------------------------------------------- |
| `room_id`    | integer | Yes      | —       | Chat room ID                                               |
| `message_id` | string  | No       | —       | Message ID. All messages up to this ID are marked as read. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "message_id": {
        "type": "string",
        "description": "Message ID. All messages up to this ID are marked as read."
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_reject\_incoming\_request

Reject contact request

**Parameters:**

| Parameter    | Type    | Required | Default | Description        |
| ------------ | ------- | -------- | ------- | ------------------ |
| `request_id` | integer | Yes      | —       | Contact request ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "request_id": {
        "type": "integer",
        "description": "Contact request ID"
      }
    },
    "required": [
      "PCID",
      "request_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_unread\_room\_message

Mark message as unread

**Parameters:**

| Parameter    | Type    | Required | Default | Description                                |
| ------------ | ------- | -------- | ------- | ------------------------------------------ |
| `room_id`    | integer | Yes      | —       | Chat room ID                               |
| `message_id` | string  | Yes      | —       | Messages from this ID onward become unread |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "message_id": {
        "type": "string",
        "description": "Messages from this ID onward become unread"
      }
    },
    "required": [
      "PCID",
      "room_id",
      "message_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_update\_room

Update chat info

**Parameters:**

| Parameter     | Type    | Required | Default | Description                  |
| ------------- | ------- | -------- | ------- | ---------------------------- |
| `room_id`     | integer | Yes      | —       | Chat room ID                 |
| `description` | string  | No       | —       | Chat room description        |
| `icon_preset` | string  | No       | —       | Icon type                    |
| `name`        | string  | No       | —       | Chat room name (1-255 chars) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "description": {
        "type": "string",
        "description": "Chat room description"
      },
      "icon_preset": {
        "type": "string",
        "description": "Icon type",
        "enum": [
          "group",
          "check",
          "document",
          "meeting",
          "event",
          "project",
          "business",
          "study",
          "security",
          "star",
          "idea",
          "heart",
          "magcup",
          "beer",
          "music",
          "sports",
          "travel"
        ]
      },
      "name": {
        "type": "string",
        "description": "Chat room name (1-255 chars)"
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_update\_room\_link

Update room invite link

**Parameters:**

| Parameter         | Type    | Required | Default | Description                                |
| ----------------- | ------- | -------- | ------- | ------------------------------------------ |
| `room_id`         | integer | Yes      | —       | Chat room ID                               |
| `code`            | string  | No       | —       | Link code (1-50 chars)                     |
| `description`     | string  | No       | —       | Link description                           |
| `need_acceptance` | integer | No       | —       | 0 or 1. Whether admin approval is required |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "code": {
        "type": "string",
        "description": "Link code (1-50 chars)"
      },
      "description": {
        "type": "string",
        "description": "Link description"
      },
      "need_acceptance": {
        "type": "integer",
        "description": "0 or 1. Whether admin approval is required",
        "enum": [
          0,
          1
        ]
      }
    },
    "required": [
      "PCID",
      "room_id"
    ]
  }
  ```
</Expandable>

***

## chatwork\_update\_room\_members

Bulk update chat members

**Parameters:**

| Parameter              | Type    | Required | Default | Description                                               |
| ---------------------- | ------- | -------- | ------- | --------------------------------------------------------- |
| `room_id`              | integer | Yes      | —       | Chat room ID                                              |
| `members_admin_ids`    | string  | Yes      | —       | Comma-separated admin account IDs (at least one required) |
| `members_member_ids`   | string  | No       | —       | Comma-separated member account IDs                        |
| `members_readonly_ids` | string  | No       | —       | Comma-separated readonly account IDs                      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "members_admin_ids": {
        "type": "string",
        "description": "Comma-separated admin account IDs (at least one required)"
      },
      "members_member_ids": {
        "type": "string",
        "description": "Comma-separated member account IDs"
      },
      "members_readonly_ids": {
        "type": "string",
        "description": "Comma-separated readonly account IDs"
      }
    },
    "required": [
      "PCID",
      "room_id",
      "members_admin_ids"
    ]
  }
  ```
</Expandable>

***

## chatwork\_update\_room\_message

Update message

**Parameters:**

| Parameter    | Type    | Required | Default | Description                      |
| ------------ | ------- | -------- | ------- | -------------------------------- |
| `room_id`    | integer | Yes      | —       | Chat room ID                     |
| `message_id` | string  | Yes      | —       | Message ID                       |
| `body`       | string  | Yes      | —       | New message body (1-65535 chars) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "message_id": {
        "type": "string",
        "description": "Message ID"
      },
      "body": {
        "type": "string",
        "description": "New message body (1-65535 chars)"
      }
    },
    "required": [
      "PCID",
      "room_id",
      "message_id",
      "body"
    ]
  }
  ```
</Expandable>

***

## chatwork\_update\_room\_task\_status

Update task status

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `room_id` | integer | Yes      | —       | Chat room ID |
| `task_id` | integer | Yes      | —       | Task ID      |
| `body`    | string  | Yes      | —       | Task status  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "room_id": {
        "type": "integer",
        "description": "Chat room ID"
      },
      "task_id": {
        "type": "integer",
        "description": "Task ID"
      },
      "body": {
        "type": "string",
        "description": "Task status",
        "enum": [
          "open",
          "done"
        ]
      }
    },
    "required": [
      "PCID",
      "room_id",
      "task_id",
      "body"
    ]
  }
  ```
</Expandable>
