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

# ocoya_list_hashtag_libraries

> List reusable hashtag libraries for a workspace.

# `ocoya_list_hashtag_libraries`

Lists reusable hashtag libraries in an approved workspace. Use this before `ocoya_create_ai_post` when you want the AI draft to use a saved hashtag library.

## Arguments

| Name          | Type   | Required | Description                                |
| ------------- | ------ | -------- | ------------------------------------------ |
| `workspaceId` | string | Yes      | Workspace ID from `ocoya_list_workspaces`. |
| `query`       | string | No       | Case-insensitive name search.              |

## Example

```json theme={null}
{
  "name": "ocoya_list_hashtag_libraries",
  "arguments": {
    "workspaceId": "cmayvq3hk00017apshay5qezu",
    "query": "launch"
  }
}
```

## Returns

Returns hashtag libraries with IDs, names, and reusable hashtags.

Use the returned `id` as `hashtagLibraryId` when calling `ocoya_create_ai_post`.
