> ## 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.

# imanage

> iManage Document Management

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

## Tools

| Tool                                                                          | Description                               |
| ----------------------------------------------------------------------------- | ----------------------------------------- |
| [`imanage_add_document_history_entry`](#imanage_add_document_history_entry)   | Add a document history entry              |
| [`imanage_add_document_to_folder`](#imanage_add_document_to_folder)           | Add a document reference to a folder      |
| [`imanage_copy_document`](#imanage_copy_document)                             | Copy a document to a folder               |
| [`imanage_create_document_relation`](#imanage_create_document_relation)       | Create a document relation                |
| [`imanage_create_folder`](#imanage_create_folder)                             | Create a subfolder                        |
| [`imanage_create_workspace`](#imanage_create_workspace)                       | Create a new workspace                    |
| [`imanage_delete_document`](#imanage_delete_document)                         | Delete a document                         |
| [`imanage_delete_document_relation`](#imanage_delete_document_relation)       | Delete a document relation                |
| [`imanage_full_text_search`](#imanage_full_text_search)                       | Full-text search across a library         |
| [`imanage_get_classes`](#imanage_get_classes)                                 | List document classes                     |
| [`imanage_get_document_history`](#imanage_get_document_history)               | Get document history                      |
| [`imanage_get_document_permissions`](#imanage_get_document_permissions)       | Get document permissions                  |
| [`imanage_get_document_profile`](#imanage_get_document_profile)               | Get a document profile (metadata)         |
| [`imanage_get_document_relations`](#imanage_get_document_relations)           | Get related documents                     |
| [`imanage_get_document_trustees`](#imanage_get_document_trustees)             | Get document trustees                     |
| [`imanage_get_document_versions`](#imanage_get_document_versions)             | Get all versions of a document            |
| [`imanage_get_folder_children`](#imanage_get_folder_children)                 | List contents of a folder                 |
| [`imanage_get_folder_permissions`](#imanage_get_folder_permissions)           | Get folder permissions                    |
| [`imanage_get_folder_profile`](#imanage_get_folder_profile)                   | Get folder profile                        |
| [`imanage_get_group_members`](#imanage_get_group_members)                     | Get group members                         |
| [`imanage_get_libraries`](#imanage_get_libraries)                             | List all available document libraries     |
| [`imanage_get_subclasses`](#imanage_get_subclasses)                           | List subclasses for a document class      |
| [`imanage_get_user_details`](#imanage_get_user_details)                       | Get user details                          |
| [`imanage_get_workspace_children`](#imanage_get_workspace_children)           | List folders and documents in a workspace |
| [`imanage_get_workspace_permissions`](#imanage_get_workspace_permissions)     | Get workspace permissions                 |
| [`imanage_get_workspace_profile`](#imanage_get_workspace_profile)             | Get workspace profile                     |
| [`imanage_get_workspace_templates`](#imanage_get_workspace_templates)         | List workspace templates                  |
| [`imanage_move_document`](#imanage_move_document)                             | Move a document to a different folder     |
| [`imanage_remove_document_from_folder`](#imanage_remove_document_from_folder) | Remove a document reference from a folder |
| [`imanage_search_documents`](#imanage_search_documents)                       | Search for documents in a library         |
| [`imanage_search_folders`](#imanage_search_folders)                           | Search for folders in a library           |
| [`imanage_search_users`](#imanage_search_users)                               | Search for users                          |
| [`imanage_search_workspaces`](#imanage_search_workspaces)                     | Search for workspaces                     |
| [`imanage_update_document_permissions`](#imanage_update_document_permissions) | Update document permissions               |
| [`imanage_update_document_profile`](#imanage_update_document_profile)         | Update a document profile (metadata)      |
| [`imanage_update_workspace`](#imanage_update_workspace)                       | Update a workspace                        |

***

## imanage\_add\_document\_history\_entry

Add a document history entry

**Parameters:**

| Parameter       | Type    | Required | Default | Description                               |
| --------------- | ------- | -------- | ------- | ----------------------------------------- |
| `libraryId`     | string  | Yes      | —       | The library ID                            |
| `documentId`    | string  | Yes      | —       | The document ID                           |
| `activity_code` | integer | Yes      | —       | Type of activity performed                |
| `comments`      | string  | No       | —       | Additional information about the activity |
| `duration`      | integer | No       | —       | Number of seconds spent on the document   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "documentId": {
        "type": "string",
        "description": "The document ID"
      },
      "activity_code": {
        "type": "integer",
        "description": "Type of activity performed"
      },
      "comments": {
        "type": "string",
        "description": "Additional information about the activity"
      },
      "duration": {
        "type": "integer",
        "description": "Number of seconds spent on the document"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "documentId",
      "activity_code"
    ]
  }
  ```
</Expandable>

***

## imanage\_add\_document\_to\_folder

Add a document reference to a folder

**Parameters:**

| Parameter     | Type   | Required | Default | Description                               |
| ------------- | ------ | -------- | ------- | ----------------------------------------- |
| `libraryId`   | string | Yes      | —       | The library ID                            |
| `folderId`    | string | Yes      | —       | The folder ID to add the document to      |
| `document_id` | string | Yes      | —       | ID of the document to add a reference for |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "folderId": {
        "type": "string",
        "description": "The folder ID to add the document to"
      },
      "document_id": {
        "type": "string",
        "description": "ID of the document to add a reference for"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "folderId",
      "document_id"
    ]
  }
  ```
</Expandable>

***

## imanage\_copy\_document

Copy a document to a folder

**Parameters:**

| Parameter    | Type   | Required | Default | Description                            |
| ------------ | ------ | -------- | ------- | -------------------------------------- |
| `libraryId`  | string | Yes      | —       | The library ID containing the document |
| `documentId` | string | Yes      | —       | The document ID to copy                |
| `folder_id`  | string | Yes      | —       | Destination folder ID                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID containing the document"
      },
      "documentId": {
        "type": "string",
        "description": "The document ID to copy"
      },
      "folder_id": {
        "type": "string",
        "description": "Destination folder ID"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "documentId",
      "folder_id"
    ]
  }
  ```
</Expandable>

***

## imanage\_create\_document\_relation

Create a document relation

**Parameters:**

| Parameter             | Type   | Required | Default | Description                            |
| --------------------- | ------ | -------- | ------- | -------------------------------------- |
| `libraryId`           | string | Yes      | —       | The library ID containing the document |
| `documentId`          | string | Yes      | —       | The primary document ID                |
| `related_document_id` | string | Yes      | —       | The ID of the document to relate to    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID containing the document"
      },
      "documentId": {
        "type": "string",
        "description": "The primary document ID"
      },
      "related_document_id": {
        "type": "string",
        "description": "The ID of the document to relate to"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "documentId",
      "related_document_id"
    ]
  }
  ```
</Expandable>

***

## imanage\_create\_folder

Create a subfolder

**Parameters:**

| Parameter          | Type   | Required | Default | Description                           |
| ------------------ | ------ | -------- | ------- | ------------------------------------- |
| `libraryId`        | string | Yes      | —       | The library ID                        |
| `folderId`         | string | Yes      | —       | The parent folder ID                  |
| `default_security` | string | No       | —       | Default security level for the folder |
| `description`      | string | No       | —       | Folder description                    |
| `name`             | string | Yes      | —       | Name of the new subfolder             |
| `profile`          | object | No       | —       | Custom metadata profile fields        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "folderId": {
        "type": "string",
        "description": "The parent folder ID"
      },
      "default_security": {
        "type": "string",
        "description": "Default security level for the folder"
      },
      "description": {
        "type": "string",
        "description": "Folder description"
      },
      "name": {
        "type": "string",
        "description": "Name of the new subfolder"
      },
      "profile": {
        "type": "object",
        "description": "Custom metadata profile fields"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "folderId",
      "name"
    ]
  }
  ```
</Expandable>

***

## imanage\_create\_workspace

Create a new workspace

**Parameters:**

| Parameter          | Type   | Required | Default | Description                               |
| ------------------ | ------ | -------- | ------- | ----------------------------------------- |
| `libraryId`        | string | Yes      | —       | The library ID to create the workspace in |
| `custom1`          | string | No       | —       | Custom metadata field 1                   |
| `custom2`          | string | No       | —       | Custom metadata field 2                   |
| `custom3`          | string | No       | —       | Custom metadata field 3                   |
| `custom4`          | string | No       | —       | Custom metadata field 4                   |
| `custom5`          | string | No       | —       | Custom metadata field 5                   |
| `custom6`          | string | No       | —       | Custom metadata field 6                   |
| `default_security` | string | No       | —       | Default security level                    |
| `description`      | string | No       | —       | Workspace description                     |
| `name`             | string | Yes      | —       | Name of the new workspace                 |
| `owner`            | string | No       | —       | Workspace owner user ID                   |
| `subclass`         | string | No       | —       | Workspace subclass                        |
| `template_id`      | string | Yes      | —       | ID of the workspace template to use       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID to create the workspace in"
      },
      "custom1": {
        "type": "string",
        "description": "Custom metadata field 1"
      },
      "custom2": {
        "type": "string",
        "description": "Custom metadata field 2"
      },
      "custom3": {
        "type": "string",
        "description": "Custom metadata field 3"
      },
      "custom4": {
        "type": "string",
        "description": "Custom metadata field 4"
      },
      "custom5": {
        "type": "string",
        "description": "Custom metadata field 5"
      },
      "custom6": {
        "type": "string",
        "description": "Custom metadata field 6"
      },
      "default_security": {
        "type": "string",
        "description": "Default security level"
      },
      "description": {
        "type": "string",
        "description": "Workspace description"
      },
      "name": {
        "type": "string",
        "description": "Name of the new workspace"
      },
      "owner": {
        "type": "string",
        "description": "Workspace owner user ID"
      },
      "subclass": {
        "type": "string",
        "description": "Workspace subclass"
      },
      "template_id": {
        "type": "string",
        "description": "ID of the workspace template to use"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "name",
      "template_id"
    ]
  }
  ```
</Expandable>

***

## imanage\_delete\_document

Delete a document

**Parameters:**

| Parameter           | Type    | Required | Default | Description                                    |
| ------------------- | ------- | -------- | ------- | ---------------------------------------------- |
| `libraryId`         | string  | Yes      | —       | The library ID containing the document         |
| `documentId`        | string  | Yes      | —       | The document ID to delete                      |
| `deleteAllVersions` | boolean | No       | —       | Whether to delete all versions of the document |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID containing the document"
      },
      "documentId": {
        "type": "string",
        "description": "The document ID to delete"
      },
      "deleteAllVersions": {
        "type": "boolean",
        "description": "Whether to delete all versions of the document"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "documentId"
    ]
  }
  ```
</Expandable>

***

## imanage\_delete\_document\_relation

Delete a document relation

**Parameters:**

| Parameter           | Type   | Required | Default | Description                       |
| ------------------- | ------ | -------- | ------- | --------------------------------- |
| `libraryId`         | string | Yes      | —       | The library ID                    |
| `documentId`        | string | Yes      | —       | The primary document ID           |
| `relatedDocumentId` | string | Yes      | —       | The related document ID to unlink |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "documentId": {
        "type": "string",
        "description": "The primary document ID"
      },
      "relatedDocumentId": {
        "type": "string",
        "description": "The related document ID to unlink"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "documentId",
      "relatedDocumentId"
    ]
  }
  ```
</Expandable>

***

## imanage\_full\_text\_search

Full-text search across a library

**Parameters:**

| Parameter   | Type    | Required | Default | Description                         |
| ----------- | ------- | -------- | ------- | ----------------------------------- |
| `libraryId` | string  | Yes      | —       | The library ID to search within     |
| `filters`   | object  | No       | —       | Field-level search filters          |
| `limit`     | integer | No       | —       | Maximum number of records to return |
| `offset`    | integer | No       | —       | Starting position for pagination    |
| `query`     | string  | No       | —       | Full-text search query string       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID to search within"
      },
      "filters": {
        "type": "object",
        "description": "Field-level search filters",
        "properties": {
          "name": {
            "type": "string",
            "description": "Filter by document name"
          },
          "author": {
            "type": "string",
            "description": "Filter by author"
          },
          "class": {
            "type": "string",
            "description": "Filter by document class"
          },
          "subclass": {
            "type": "string",
            "description": "Filter by document subclass"
          },
          "extension": {
            "type": "string",
            "description": "Filter by file extension"
          },
          "workspace_id": {
            "type": "string",
            "description": "Filter by workspace ID"
          },
          "folder_id": {
            "type": "string",
            "description": "Filter by folder ID"
          },
          "create_date_from": {
            "type": "string",
            "description": "Filter by creation date (from, ISO 8601)"
          },
          "create_date_to": {
            "type": "string",
            "description": "Filter by creation date (to, ISO 8601)"
          },
          "edit_date_from": {
            "type": "string",
            "description": "Filter by edit date (from, ISO 8601)"
          },
          "edit_date_to": {
            "type": "string",
            "description": "Filter by edit date (to, ISO 8601)"
          }
        }
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of records to return"
      },
      "offset": {
        "type": "integer",
        "description": "Starting position for pagination"
      },
      "query": {
        "type": "string",
        "description": "Full-text search query string"
      }
    },
    "required": [
      "PCID",
      "libraryId"
    ]
  }
  ```
</Expandable>

***

## imanage\_get\_classes

List document classes

**Parameters:**

| Parameter   | Type   | Required | Default | Description                    |
| ----------- | ------ | -------- | ------- | ------------------------------ |
| `libraryId` | string | Yes      | —       | The library ID                 |
| `query`     | string | No       | —       | Search query to filter classes |
| `alias`     | string | No       | —       | Class ID(s) to look up         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "query": {
        "type": "string",
        "description": "Search query to filter classes"
      },
      "alias": {
        "type": "string",
        "description": "Class ID(s) to look up"
      }
    },
    "required": [
      "PCID",
      "libraryId"
    ]
  }
  ```
</Expandable>

***

## imanage\_get\_document\_history

Get document history

**Parameters:**

| Parameter    | Type   | Required | Default | Description     |
| ------------ | ------ | -------- | ------- | --------------- |
| `libraryId`  | string | Yes      | —       | The library ID  |
| `documentId` | string | Yes      | —       | The document ID |

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

***

## imanage\_get\_document\_permissions

Get document permissions

**Parameters:**

| Parameter    | Type   | Required | Default | Description     |
| ------------ | ------ | -------- | ------- | --------------- |
| `libraryId`  | string | Yes      | —       | The library ID  |
| `documentId` | string | Yes      | —       | The document ID |

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

***

## imanage\_get\_document\_profile

Get a document profile (metadata)

**Parameters:**

| Parameter    | Type    | Required | Default | Description                            |
| ------------ | ------- | -------- | ------- | -------------------------------------- |
| `libraryId`  | string  | Yes      | —       | The library ID containing the document |
| `documentId` | string  | Yes      | —       | The document ID                        |
| `latest`     | boolean | No       | —       | Whether to retrieve the latest version |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID containing the document"
      },
      "documentId": {
        "type": "string",
        "description": "The document ID"
      },
      "latest": {
        "type": "boolean",
        "description": "Whether to retrieve the latest version"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "documentId"
    ]
  }
  ```
</Expandable>

***

## imanage\_get\_document\_relations

Get related documents

**Parameters:**

| Parameter    | Type   | Required | Default | Description                            |
| ------------ | ------ | -------- | ------- | -------------------------------------- |
| `libraryId`  | string | Yes      | —       | The library ID containing the document |
| `documentId` | string | Yes      | —       | The document ID                        |

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

***

## imanage\_get\_document\_trustees

Get document trustees

**Parameters:**

| Parameter    | Type   | Required | Default | Description     |
| ------------ | ------ | -------- | ------- | --------------- |
| `libraryId`  | string | Yes      | —       | The library ID  |
| `documentId` | string | Yes      | —       | The document ID |

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

***

## imanage\_get\_document\_versions

Get all versions of a document

**Parameters:**

| Parameter    | Type   | Required | Default | Description                            |
| ------------ | ------ | -------- | ------- | -------------------------------------- |
| `libraryId`  | string | Yes      | —       | The library ID containing the document |
| `documentId` | string | Yes      | —       | The document ID                        |

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

***

## imanage\_get\_folder\_children

List contents of a folder

**Parameters:**

| Parameter   | Type    | Required | Default | Description                         |
| ----------- | ------- | -------- | ------- | ----------------------------------- |
| `libraryId` | string  | Yes      | —       | The library ID                      |
| `folderId`  | string  | Yes      | —       | The folder ID                       |
| `offset`    | integer | No       | —       | Starting position for pagination    |
| `limit`     | integer | No       | —       | Maximum number of records to return |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "folderId": {
        "type": "string",
        "description": "The folder ID"
      },
      "offset": {
        "type": "integer",
        "description": "Starting position for pagination"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of records to return"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "folderId"
    ]
  }
  ```
</Expandable>

***

## imanage\_get\_folder\_permissions

Get folder permissions

**Parameters:**

| Parameter   | Type   | Required | Default | Description    |
| ----------- | ------ | -------- | ------- | -------------- |
| `libraryId` | string | Yes      | —       | The library ID |
| `folderId`  | string | Yes      | —       | The folder ID  |

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

***

## imanage\_get\_folder\_profile

Get folder profile

**Parameters:**

| Parameter   | Type   | Required | Default | Description    |
| ----------- | ------ | -------- | ------- | -------------- |
| `libraryId` | string | Yes      | —       | The library ID |
| `folderId`  | string | Yes      | —       | The folder ID  |

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

***

## imanage\_get\_group\_members

Get group members

**Parameters:**

| Parameter   | Type    | Required | Default | Description                         |
| ----------- | ------- | -------- | ------- | ----------------------------------- |
| `libraryId` | string  | Yes      | —       | The library ID                      |
| `groupId`   | string  | Yes      | —       | The group ID                        |
| `limit`     | integer | No       | —       | Maximum number of members to return |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "groupId": {
        "type": "string",
        "description": "The group ID"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of members to return"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "groupId"
    ]
  }
  ```
</Expandable>

***

## imanage\_get\_libraries

List all available document libraries

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

***

## imanage\_get\_subclasses

List subclasses for a document class

**Parameters:**

| Parameter   | Type   | Required | Default | Description                       |
| ----------- | ------ | -------- | ------- | --------------------------------- |
| `libraryId` | string | Yes      | —       | The library ID                    |
| `classId`   | string | Yes      | —       | The parent class ID               |
| `query`     | string | No       | —       | Search query to filter subclasses |
| `alias`     | string | No       | —       | Subclass ID(s) to look up         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "classId": {
        "type": "string",
        "description": "The parent class ID"
      },
      "query": {
        "type": "string",
        "description": "Search query to filter subclasses"
      },
      "alias": {
        "type": "string",
        "description": "Subclass ID(s) to look up"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "classId"
    ]
  }
  ```
</Expandable>

***

## imanage\_get\_user\_details

Get user details

**Parameters:**

| Parameter   | Type   | Required | Default | Description    |
| ----------- | ------ | -------- | ------- | -------------- |
| `libraryId` | string | Yes      | —       | The library ID |
| `userId`    | string | Yes      | —       | The user ID    |

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

***

## imanage\_get\_workspace\_children

List folders and documents in a workspace

**Parameters:**

| Parameter     | Type    | Required | Default | Description                             |
| ------------- | ------- | -------- | ------- | --------------------------------------- |
| `libraryId`   | string  | Yes      | —       | The library ID containing the workspace |
| `workspaceId` | string  | Yes      | —       | The workspace ID                        |
| `offset`      | integer | No       | —       | Starting position for pagination        |
| `limit`       | integer | No       | —       | Maximum number of records to return     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID containing the workspace"
      },
      "workspaceId": {
        "type": "string",
        "description": "The workspace ID"
      },
      "offset": {
        "type": "integer",
        "description": "Starting position for pagination"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of records to return"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## imanage\_get\_workspace\_permissions

Get workspace permissions

**Parameters:**

| Parameter     | Type   | Required | Default | Description      |
| ------------- | ------ | -------- | ------- | ---------------- |
| `libraryId`   | string | Yes      | —       | The library ID   |
| `workspaceId` | string | Yes      | —       | The workspace ID |

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

***

## imanage\_get\_workspace\_profile

Get workspace profile

**Parameters:**

| Parameter     | Type   | Required | Default | Description                             |
| ------------- | ------ | -------- | ------- | --------------------------------------- |
| `libraryId`   | string | Yes      | —       | The library ID containing the workspace |
| `workspaceId` | string | Yes      | —       | The workspace ID                        |

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

***

## imanage\_get\_workspace\_templates

List workspace templates

**Parameters:**

| Parameter   | Type   | Required | Default | Description    |
| ----------- | ------ | -------- | ------- | -------------- |
| `libraryId` | string | Yes      | —       | The library ID |

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

***

## imanage\_move\_document

Move a document to a different folder

**Parameters:**

| Parameter               | Type    | Required | Default | Description                                  |
| ----------------------- | ------- | -------- | ------- | -------------------------------------------- |
| `libraryId`             | string  | Yes      | —       | The library ID containing the document       |
| `documentId`            | string  | Yes      | —       | The document ID to move                      |
| `comments`              | string  | No       | —       | Timeline comments for the move action        |
| `destination_folder_id` | string  | Yes      | —       | Destination folder ID                        |
| `source_folder_id`      | string  | Yes      | —       | Current parent folder ID                     |
| `update_profile`        | boolean | No       | —       | Whether to update the document profile       |
| `update_security`       | boolean | No       | —       | Whether to update document security settings |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID containing the document"
      },
      "documentId": {
        "type": "string",
        "description": "The document ID to move"
      },
      "comments": {
        "type": "string",
        "description": "Timeline comments for the move action"
      },
      "destination_folder_id": {
        "type": "string",
        "description": "Destination folder ID"
      },
      "source_folder_id": {
        "type": "string",
        "description": "Current parent folder ID"
      },
      "update_profile": {
        "type": "boolean",
        "description": "Whether to update the document profile"
      },
      "update_security": {
        "type": "boolean",
        "description": "Whether to update document security settings"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "documentId",
      "destination_folder_id",
      "source_folder_id"
    ]
  }
  ```
</Expandable>

***

## imanage\_remove\_document\_from\_folder

Remove a document reference from a folder

**Parameters:**

| Parameter    | Type   | Required | Default | Description                               |
| ------------ | ------ | -------- | ------- | ----------------------------------------- |
| `libraryId`  | string | Yes      | —       | The library ID                            |
| `folderId`   | string | Yes      | —       | The folder ID                             |
| `documentId` | string | Yes      | —       | The document ID to remove from the folder |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "folderId": {
        "type": "string",
        "description": "The folder ID"
      },
      "documentId": {
        "type": "string",
        "description": "The document ID to remove from the folder"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "folderId",
      "documentId"
    ]
  }
  ```
</Expandable>

***

## imanage\_search\_documents

Search for documents in a library

**Parameters:**

| Parameter   | Type    | Required | Default | Description                                          |
| ----------- | ------- | -------- | ------- | ---------------------------------------------------- |
| `libraryId` | string  | Yes      | —       | The library ID to search within                      |
| `name`      | string  | No       | —       | Filter by document name (supports wildcards with \*) |
| `author`    | string  | No       | —       | Filter by document author                            |
| `class`     | string  | No       | —       | Filter by document class                             |
| `subclass`  | string  | No       | —       | Filter by document subclass                          |
| `operator`  | string  | No       | —       | Filter by last operator (user who last modified)     |
| `custom1`   | string  | No       | —       | Filter by custom metadata field 1                    |
| `custom2`   | string  | No       | —       | Filter by custom metadata field 2                    |
| `offset`    | integer | No       | —       | Starting position for pagination                     |
| `limit`     | integer | No       | —       | Maximum number of records to return                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID to search within"
      },
      "name": {
        "type": "string",
        "description": "Filter by document name (supports wildcards with *)"
      },
      "author": {
        "type": "string",
        "description": "Filter by document author"
      },
      "class": {
        "type": "string",
        "description": "Filter by document class"
      },
      "subclass": {
        "type": "string",
        "description": "Filter by document subclass"
      },
      "operator": {
        "type": "string",
        "description": "Filter by last operator (user who last modified)"
      },
      "custom1": {
        "type": "string",
        "description": "Filter by custom metadata field 1"
      },
      "custom2": {
        "type": "string",
        "description": "Filter by custom metadata field 2"
      },
      "offset": {
        "type": "integer",
        "description": "Starting position for pagination"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of records to return"
      }
    },
    "required": [
      "PCID",
      "libraryId"
    ]
  }
  ```
</Expandable>

***

## imanage\_search\_folders

Search for folders in a library

**Parameters:**

| Parameter        | Type    | Required | Default | Description                                |
| ---------------- | ------- | -------- | ------- | ------------------------------------------ |
| `libraryId`      | string  | Yes      | —       | The library ID to search within            |
| `name`           | string  | No       | —       | Filter by folder name (supports wildcards) |
| `owner`          | string  | No       | —       | Filter by folder owner                     |
| `description`    | string  | No       | —       | Filter by description                      |
| `container_id`   | string  | No       | —       | Filter by parent workspace or folder ID    |
| `workspace_name` | string  | No       | —       | Filter by parent workspace name            |
| `email`          | string  | No       | —       | Filter by folder email address             |
| `offset`         | integer | No       | —       | Starting position for pagination           |
| `limit`          | integer | No       | —       | Maximum number of records to return        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID to search within"
      },
      "name": {
        "type": "string",
        "description": "Filter by folder name (supports wildcards)"
      },
      "owner": {
        "type": "string",
        "description": "Filter by folder owner"
      },
      "description": {
        "type": "string",
        "description": "Filter by description"
      },
      "container_id": {
        "type": "string",
        "description": "Filter by parent workspace or folder ID"
      },
      "workspace_name": {
        "type": "string",
        "description": "Filter by parent workspace name"
      },
      "email": {
        "type": "string",
        "description": "Filter by folder email address"
      },
      "offset": {
        "type": "integer",
        "description": "Starting position for pagination"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of records to return"
      }
    },
    "required": [
      "PCID",
      "libraryId"
    ]
  }
  ```
</Expandable>

***

## imanage\_search\_users

Search for users

**Parameters:**

| Parameter   | Type   | Required | Default | Description                 |
| ----------- | ------ | -------- | ------- | --------------------------- |
| `email`     | string | No       | —       | Email address to search for |
| `full_name` | string | No       | —       | Full name to search for     |
| `id`        | string | No       | —       | User ID to search for       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "email": {
        "type": "string",
        "description": "Email address to search for"
      },
      "full_name": {
        "type": "string",
        "description": "Full name to search for"
      },
      "id": {
        "type": "string",
        "description": "User ID to search for"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## imanage\_search\_workspaces

Search for workspaces

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                   |
| ------------- | ------- | -------- | ------- | --------------------------------------------- |
| `libraryId`   | string  | Yes      | —       | The library ID to search within               |
| `name`        | string  | No       | —       | Filter by workspace name (supports wildcards) |
| `owner`       | string  | No       | —       | Filter by workspace owner                     |
| `description` | string  | No       | —       | Filter by description                         |
| `subclass`    | string  | No       | —       | Filter by workspace subclass                  |
| `anywhere`    | string  | No       | —       | Search keyword anywhere in workspace metadata |
| `custom1`     | string  | No       | —       | Filter by custom metadata field 1             |
| `custom2`     | string  | No       | —       | Filter by custom metadata field 2             |
| `offset`      | integer | No       | —       | Starting position for pagination              |
| `limit`       | integer | No       | —       | Maximum number of records to return           |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID to search within"
      },
      "name": {
        "type": "string",
        "description": "Filter by workspace name (supports wildcards)"
      },
      "owner": {
        "type": "string",
        "description": "Filter by workspace owner"
      },
      "description": {
        "type": "string",
        "description": "Filter by description"
      },
      "subclass": {
        "type": "string",
        "description": "Filter by workspace subclass"
      },
      "anywhere": {
        "type": "string",
        "description": "Search keyword anywhere in workspace metadata"
      },
      "custom1": {
        "type": "string",
        "description": "Filter by custom metadata field 1"
      },
      "custom2": {
        "type": "string",
        "description": "Filter by custom metadata field 2"
      },
      "offset": {
        "type": "integer",
        "description": "Starting position for pagination"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of records to return"
      }
    },
    "required": [
      "PCID",
      "libraryId"
    ]
  }
  ```
</Expandable>

***

## imanage\_update\_document\_permissions

Update document permissions

**Parameters:**

| Parameter      | Type   | Required | Default | Description                                                             |
| -------------- | ------ | -------- | ------- | ----------------------------------------------------------------------- |
| `libraryId`    | string | Yes      | —       | The library ID                                                          |
| `documentId`   | string | Yes      | —       | The document ID                                                         |
| `access_level` | string | Yes      | —       | Access level to set (e.g., no\_access, read, read\_write, full\_access) |
| `groups`       | string | No       | —       | Semicolon-separated list of group IDs to grant access                   |
| `users`        | string | No       | —       | Semicolon-separated list of user IDs to grant access                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID"
      },
      "documentId": {
        "type": "string",
        "description": "The document ID"
      },
      "access_level": {
        "type": "string",
        "description": "Access level to set (e.g., no_access, read, read_write, full_access)"
      },
      "groups": {
        "type": "string",
        "description": "Semicolon-separated list of group IDs to grant access"
      },
      "users": {
        "type": "string",
        "description": "Semicolon-separated list of user IDs to grant access"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "documentId",
      "access_level"
    ]
  }
  ```
</Expandable>

***

## imanage\_update\_document\_profile

Update a document profile (metadata)

**Parameters:**

| Parameter          | Type    | Required | Default | Description                                  |
| ------------------ | ------- | -------- | ------- | -------------------------------------------- |
| `libraryId`        | string  | Yes      | —       | The library ID containing the document       |
| `documentId`       | string  | Yes      | —       | The document ID to update                    |
| `alias`            | string  | No       | —       | Document alias                               |
| `author`           | string  | No       | —       | Document author                              |
| `class`            | string  | No       | —       | Document class                               |
| `comment`          | string  | No       | —       | Version comment                              |
| `custom1`          | string  | No       | —       | Custom metadata field 1                      |
| `custom2`          | string  | No       | —       | Custom metadata field 2                      |
| `custom3`          | string  | No       | —       | Custom metadata field 3                      |
| `custom4`          | string  | No       | —       | Custom metadata field 4                      |
| `custom5`          | string  | No       | —       | Custom metadata field 5                      |
| `custom6`          | string  | No       | —       | Custom metadata field 6                      |
| `default_security` | string  | No       | —       | Default security level                       |
| `is_declared`      | boolean | No       | —       | Whether the document is declared as a record |
| `is_hipaa`         | boolean | No       | —       | Whether the document is HIPAA-protected      |
| `name`             | string  | No       | —       | Document name                                |
| `operator`         | string  | No       | —       | Last operator                                |
| `retain_days`      | integer | No       | —       | Number of days to retain the document        |
| `subclass`         | string  | No       | —       | Document subclass                            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID containing the document"
      },
      "documentId": {
        "type": "string",
        "description": "The document ID to update"
      },
      "alias": {
        "type": "string",
        "description": "Document alias"
      },
      "author": {
        "type": "string",
        "description": "Document author"
      },
      "class": {
        "type": "string",
        "description": "Document class"
      },
      "comment": {
        "type": "string",
        "description": "Version comment"
      },
      "custom1": {
        "type": "string",
        "description": "Custom metadata field 1"
      },
      "custom2": {
        "type": "string",
        "description": "Custom metadata field 2"
      },
      "custom3": {
        "type": "string",
        "description": "Custom metadata field 3"
      },
      "custom4": {
        "type": "string",
        "description": "Custom metadata field 4"
      },
      "custom5": {
        "type": "string",
        "description": "Custom metadata field 5"
      },
      "custom6": {
        "type": "string",
        "description": "Custom metadata field 6"
      },
      "default_security": {
        "type": "string",
        "description": "Default security level"
      },
      "is_declared": {
        "type": "boolean",
        "description": "Whether the document is declared as a record"
      },
      "is_hipaa": {
        "type": "boolean",
        "description": "Whether the document is HIPAA-protected"
      },
      "name": {
        "type": "string",
        "description": "Document name"
      },
      "operator": {
        "type": "string",
        "description": "Last operator"
      },
      "retain_days": {
        "type": "integer",
        "description": "Number of days to retain the document"
      },
      "subclass": {
        "type": "string",
        "description": "Document subclass"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "documentId"
    ]
  }
  ```
</Expandable>

***

## imanage\_update\_workspace

Update a workspace

**Parameters:**

| Parameter               | Type    | Required | Default | Description                             |
| ----------------------- | ------- | -------- | ------- | --------------------------------------- |
| `libraryId`             | string  | Yes      | —       | The library ID containing the workspace |
| `workspaceId`           | string  | Yes      | —       | The workspace ID to update              |
| `custom1`               | string  | No       | —       | Custom metadata field 1                 |
| `custom2`               | string  | No       | —       | Custom metadata field 2                 |
| `custom3`               | string  | No       | —       | Custom metadata field 3                 |
| `custom4`               | string  | No       | —       | Custom metadata field 4                 |
| `custom5`               | string  | No       | —       | Custom metadata field 5                 |
| `custom6`               | string  | No       | —       | Custom metadata field 6                 |
| `default_security`      | string  | No       | —       | Default security level                  |
| `description`           | string  | No       | —       | Workspace description                   |
| `is_external_as_normal` | boolean | No       | —       | Treat external users as normal users    |
| `name`                  | string  | No       | —       | Workspace name                          |
| `owner`                 | string  | No       | —       | Workspace owner                         |
| `subclass`              | string  | No       | —       | Workspace subclass                      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "libraryId": {
        "type": "string",
        "description": "The library ID containing the workspace"
      },
      "workspaceId": {
        "type": "string",
        "description": "The workspace ID to update"
      },
      "custom1": {
        "type": "string",
        "description": "Custom metadata field 1"
      },
      "custom2": {
        "type": "string",
        "description": "Custom metadata field 2"
      },
      "custom3": {
        "type": "string",
        "description": "Custom metadata field 3"
      },
      "custom4": {
        "type": "string",
        "description": "Custom metadata field 4"
      },
      "custom5": {
        "type": "string",
        "description": "Custom metadata field 5"
      },
      "custom6": {
        "type": "string",
        "description": "Custom metadata field 6"
      },
      "default_security": {
        "type": "string",
        "description": "Default security level"
      },
      "description": {
        "type": "string",
        "description": "Workspace description"
      },
      "is_external_as_normal": {
        "type": "boolean",
        "description": "Treat external users as normal users"
      },
      "name": {
        "type": "string",
        "description": "Workspace name"
      },
      "owner": {
        "type": "string",
        "description": "Workspace owner"
      },
      "subclass": {
        "type": "string",
        "description": "Workspace subclass"
      }
    },
    "required": [
      "PCID",
      "libraryId",
      "workspaceId"
    ]
  }
  ```
</Expandable>
