---
canonical_url: "https://docs.composio.dev/toolkits/icons8_mcp"
markdown_url: "https://docs.composio.dev/toolkits/icons8_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Icons8 MCP

Icons8 MCP lets agents search Icons8 icons and illustrations, browse their categories and styles, and fetch SVG, PNG or animated assets through Icons8's hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 13
- **Triggers:** 0
- **Slug:** `ICONS8_MCP`
- **Version:** 00000000_00

## Tools

### Account info

**Slug:** `ICONS8_MCP_ACCOUNT_INFO`


Show the caller's Icons8 account: plan, how many icon SVG and Lottie
downloads are left, when the plan's allowance renews, and this server's
own limit on paid downloads (per hour and per day). Call it when the user
asks about their plan or limit, or before a batch of downloads. It reads
and changes no plan: it takes no download.

A caller who signed in through Icons8 gets the full picture. A personal
API key pasted by hand carries the same data only when its account also
signed in here; otherwise the answer says to connect through the Icons8
sign-in.

Args:
    ctx: MCP context for API access

Returns:
    Dictionary with "summary" - the account in words, to pass on to the
    user - and the same facts as blocks: "plan", "mcp_access",
    "icon_svg_downloads", "lottie_downloads", "rate_limit". An account
    whose plan has no MCP access gets "plan", "mcp_access" false and the
    free formats, with no allowance blocks; "rate_limit" is left out for
    it unless it holds paid illustrations. When the plan cannot be read
    now, "error" says to try later and "code" is "account_unavailable";
    the other tools work as before


#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `code` | string | No | "account_unavailable" when the plan could not be read now and a later call may work; error then says so. |
| `plan` | string | No | `names`: the plans Icons8 lists for the account, empty for a free account. Absent when no account could be read. |
| `error` | string | No | Set only on failure. |
| `summary` | string | No | The account in words, to pass on to the user as it is: plan, downloads left, when they renew, and this server's own limit where one applies. Absent when error is set. |
| `mcp_access` | string | No | Whether the plan includes MCP access (icon SVG and Lottie downloads). When false, icon_svg_downloads and lottie_downloads are absent. Absent when no account could be read. |
| `rate_limit` | string | No | This server's limit of paid downloads, icons and illustrations together: `per_hour` and `per_day`, each with `limit`, `used` and `left` (absent when the count cannot be read now) and `resets_at` in UTC. Absent for an account whose plan has no MCP access and no paid illustrations: nothing paid is counted for it. |
| `lottie_downloads` | string | No | Allowance of get_icon_animation with format lottie: `status` as for icon_svg_downloads, `left` where known, or status unreadable when it could not be read now. It has no limit or date. |
| `icon_svg_downloads` | string | No | Allowance of get_icon_svg: `status` (unlimited, available, spent, overuse_allowed or none), and where known `limit`, `left` and `renews_on` (a date). |

### Get icon animation

**Slug:** `ICONS8_MCP_GET_ICON_ANIMATION`


Get an animated icon's motion, as Lottie, GIF or animated PNG.

Only an icon whose search result says isAnimated has one, and about one
icon in fifty does. Find them with search_icons(animated=True). Every
animated hit already carries permanent animation.gif and animation.apng
links, so reach for this tool for the Lottie, or to learn what size a
link actually renders at.

Pick by what you are building:

- "lottie" returns the animation as compact Lottie/Bodymovin JSON text -
  parse it, then hand it to lottie-web, Rive, SwiftUI or Android. It is vector, so it scales
  to any size and `size` does not apply. Prefer it on the web - but it is
  the paid format, so it needs an Icons8 plan with MCP access, through a
  sign-in or a personal API key. "gif" and "apng" need none.
- "gif" plays anywhere with no player.
- "apng" keeps a real alpha channel, so it sits on a coloured background
  without a matte.

**gif and apng come in one size: the one the icon's style draws at.** Most
styles ignore a requested size - m_outlined renders 24, ios11 30, color
48, office80 80 - and only a few scale. So ask without a size and use what
comes back; the result says what it was. If you need a particular size,
that is what Lottie is for.

Icons8 publishes no animated SVG for icons. An animated icon's SVG is a
still frame, and so are its png, jpg and webp.

Args:
    icon_id: The id from a search_icons result (field icons[].id)
    ctx: MCP context for API access
    format: "lottie", "gif" or "apng" (default: "gif"). "lottie" needs a
        plan with MCP access; the other two do not
    size: Pixels, for gif and apng only. Leave it out and you get whatever
        size this icon's style draws at, with "size" in the result saying
        which - that is the normal way to call this. Naming a size the
        icon is not drawn at is refused rather than returning a link that
        misstates it. A Lottie is vector, so this is not applied to it

Returns:
    For "lottie", a dictionary whose "lottie" is the animation as a
    compact JSON string - parse it before handing it to a player. For
    "gif" and "apng", a dictionary with a "url" that is permanent and
    needs no credential, and the "size" in pixels it renders at - absent
    only if the host answered something this server could not measure. On
    failure, an "error" saying what to ask for instead.
    A Lottie counts toward the paid-download limit: a refusal carries
    "retry_after_seconds" and the free "animation" links. When the plan's
    download allowance is spent, or the plan has none, the error says so,
    "code" is "limit_exhausted" and "animation" holds the free links
    again: until that allowance changes or renews every Lottie refuses
    (get_icon_svg spends its own)


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `size` | string | No |  |
| `format` | string | No |  |
| `icon_id` | string | Yes | Icon id from the results of search_icons (field icons[].id) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | Permanent gif or apng link. Absent for lottie and when error is set. |
| `code` | string | No | "limit_exhausted" when the download allowance of the plan is spent, or the plan has none. error then says what to do. |
| `size` | string | No | Pixel width the gif or apng renders at. Absent when the host answered something this server could not measure. |
| `error` | string | No | Set only on failure. |
| `lottie` | string | No | The animation as compact Lottie JSON text. Set only for format "lottie". |
| `animation` | string | No | Permanent gif and apng links. Set only when a download limit refused a lottie call: the hourly one, or code "limit_exhausted". |
| `retry_after_seconds` | string | No | Seconds until the download limit resets. Set only when the limit refused the call. |

### Get icon png url

**Slug:** `ICONS8_MCP_GET_ICON_PNG_URL`


Get a PNG URL for an icon by its ID - use when SVG is not available.
NOTE: SVG format is preferred for Icons8 icons when possible (use get_icon_svg).

An animated icon's PNG is a still frame. Use get_icon_animation for the
motion.

Args:
    icon_id: The id from a search_icons result (field icons[].id)
    ctx: MCP context for API access
    size: The preview image size in pixels (default: 24)

Returns:
    Dictionary containing the PNG preview URL


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `size` | integer | No |  |
| `icon_id` | string | Yes | Icon id from the results of search_icons (field icons[].id) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Permanent PNG link of the icon at the asked size. |

### Get icon svg

**Slug:** `ICONS8_MCP_GET_ICON_SVG`


Get an icon as SVG by its ID - PREFERRED FORMAT for Icons8 icons.
SVG scales to any size; a PNG is a fixed-size raster. Needs an Icons8
plan with MCP access, through a sign-in or a personal API key.
Each successful call counts as one download of the plan. When the
plan's allowance is spent, or the plan has none, the call refuses and
returns a free PNG link instead.

An animated icon's SVG is a still frame - Icons8 publishes no animated
vector. The result then carries a "note" saying so and an "animation"
block with the motion, so no further call is needed.

Args:
    icon_id: The id from a search_icons result (field icons[].id)
    ctx: MCP context for API access

Returns:
    Dictionary containing the SVG content. For an animated icon it also
    carries a "note" saying the SVG is a still frame and an "animation"
    block of permanent gif and apng links. On failure, an "error"
    describing what the Icons8 API said - a rejected key is reported, not
    returned as an empty icon. Counts toward the paid-download limit: a
    refusal carries "retry_after_seconds" and a free PNG "url". When the
    plan's download allowance is spent, or the plan has none, the
    error says so, "code" is "limit_exhausted" and "url" is again a free
    PNG: until that allowance changes or renews, get_icon_svg refuses every
    icon this account has not downloaded before (the Lottie of
    get_icon_animation spends its own), and get_icon_png_url still works


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `icon_id` | string | Yes | Icon id from the results of search_icons (field icons[].id) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `svg` | string | No | SVG markup of the icon. Absent when error is set. |
| `url` | string | No | Free 24px PNG link. Set only when the call was refused: by the hourly download limit, by code "limit_exhausted", because the account's plan has no MCP access, or because the account could not be verified. |
| `code` | string | No | "limit_exhausted" when the download allowance of the plan is spent, or the plan has none. error then says what to do. |
| `note` | string | No | Set only for an animated icon: the SVG is a still frame. |
| `error` | string | No | Set only on failure. |
| `animation` | string | No | Permanent gif and apng links. Set for an animated icon, and when the download limit refused the call. |
| `retry_after_seconds` | string | No | Seconds until the download limit resets. Set only when the limit refused the call. |

### Get illustration animation

**Slug:** `ICONS8_MCP_GET_ILLUSTRATION_ANIMATION`


Get an animated illustration as a video, a GIF, or a Lottie animation.

ONLY for an illustration whose `media_types` includes "animated" - check
a search_illustrations result first. A static illustration has no
animated format, and every format here answers "not found" for it.

THIS is what you publish. The `animation` links in a search result are
a 368px preview with no transparency, and watermarked unless the account
is entitled to the illustration; the file this tool returns is full
size, transparent, and never watermarked. Reach for the search links
while choosing, and for this tool once the choice is made.

Formats, and where each one actually plays:
- "webm" (default) - VP9 with an alpha channel. Chrome, Firefox, Edge.
  This is the one to reach for first
- "mp4-hevc" - HEVC with an alpha channel, in an .mp4 container. Safari
  only: do NOT make it the single source of a <video>, Chrome and
  Firefox will show nothing
- "prores" - ProRes 4444 in a .mov, around 55 MB. A mastering file for a
  video editor, never for a web page
- "gif" - full-size GIF, no transparency worth relying on
- "gif-low" - a smaller GIF, and the ONLY animated format that needs no
  account. Roughly a third of animated illustrations have none, and
  nothing in a search result says which
- "lottie" - a Lottie JSON to render in code. Legacy: illustrations added
  from 2024 onwards almost never carry it
- "aep" - the After Effects project the animation was built from

TO PUT AN ANIMATION ON A PAGE, offer both web formats. One alone covers
roughly half the browsers. **The order is load-bearing: mp4-hevc first.**

    <video autoplay loop muted playsinline poster="...">
      <source src="....mp4"  type="video/mp4; codecs=hvc1">
      <source src="....webm" type="video/webm">
    </video>

Safari answers canPlayType "probably" for webm as well, takes whichever
source comes first, and then cannot show VP9's alpha - so a webm listed
first gives Safari a black rectangle. Chrome and Firefox skip the HEVC
source and fall through to the webm, so putting it first costs them
nothing.

The names are this server's, not the API's, and they are deliberately not
the API's: upstream, `mov-avc` returns ProRes and `mov-hevc` returns an
.mp4, so the upstream names describe neither the container nor the codec.

WHICH FORMATS AN ILLUSTRATION HAS VARIES, and two illustrations in the
same style often disagree. Do not probe them one by one: ask for the one
you want, and if it is missing the answer names every format this
illustration does have, so one refusal is enough to choose again.

Every format except "gif-low" needs a signed-in Icons8 account whose plan
covers illustrations and MCP access, unless the illustration has
free_distribution: true.

The URL is presigned and expires in one hour - download it now, do not
store it. For a link to keep, use `animation.webm` from the search result.

Args:
    illustration_id: The id from a search_illustrations result (field illustrations[].id)
    ctx: MCP context for API access
    format: One of webm, mp4-hevc, prores, gif, gif-low, lottie, aep

Returns:
    {"url", "width", "height", "expires_in_seconds"}, or {"error"}
    explaining what would unlock the format. Every format but gif-low
    counts toward the paid-download limit: a refusal carries
    "retry_after_seconds".


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `format` | string | No |  |
| `illustration_id` | string | Yes | Illustration id from the results of search_illustrations (field illustrations[].id) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | Presigned download link. Valid for expires_in_seconds. Absent when error is set. |
| `error` | string | No | Set only on failure. |
| `width` | string | No | Pixel width of the file. |
| `height` | string | No | Pixel height of the file. |
| `expires_in_seconds` | string | No | Seconds the url stays valid. One hour. |
| `retry_after_seconds` | string | No | Seconds until the download limit resets. Set only when the limit refused the call. |

### Get illustration png url

**Slug:** `ICONS8_MCP_GET_ILLUSTRATION_PNG_URL`


Get a PNG URL for an illustration - use when SVG is not available to you.
NOTE: SVG is preferred where you can get it (use get_illustration_svg).

Sizes: "low" (a small preview), "standard" (a mid-size raster), "hd"
(the largest). "low" and "standard" work for everyone; "hd" needs a
signed-in account whose plan covers illustrations and MCP access, the
same as SVG, unless the illustration has free_distribution: true. The exact
pixel dimensions depend on the illustration - read `width`/`height` from
the response rather than assuming a fixed size.

The URL is presigned and expires in one hour. For a permanent link, use
`preview.url` in a search result: a preview, watermarked unless the hit
is free or your plan covers it.

Args:
    illustration_id: The id from a search_illustrations result (field illustrations[].id)
    ctx: MCP context for API access
    size: "low", "standard" (default) or "hd"

Returns:
    {"url", "width", "height", "expires_in_seconds"}, or {"error"}.
    "hd" counts toward the paid-download limit: a refusal carries
    "retry_after_seconds".


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `size` | string | No |  |
| `illustration_id` | string | Yes | Illustration id from the results of search_illustrations (field illustrations[].id) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | Presigned download link. Valid for expires_in_seconds. Absent when error is set. |
| `error` | string | No | Set only on failure. |
| `width` | string | No | Pixel width of the file. |
| `height` | string | No | Pixel height of the file. |
| `expires_in_seconds` | string | No | Seconds the url stays valid. One hour. |
| `retry_after_seconds` | string | No | Seconds until the download limit resets. Set only when the limit refused the call. |

### Get illustration svg

**Slug:** `ICONS8_MCP_GET_ILLUSTRATION_SVG`


Get an illustration as SVG - PREFERRED FORMAT for Icons8 illustrations.
SVG scales to any size without losing quality; a PNG is a fixed-size
raster. A paid illustration needs a signed-in Icons8 account whose plan
covers illustrations and MCP access; anything with free_distribution:
true needs no account at all.

Returns a download URL rather than the file - an illustration's SVG can
be large, and the file size depends on the source, so it is not inlined.
The URL is presigned and expires in one hour - download it now, do not
store it. For a permanent link, use `preview.url` in a search result: a
preview, watermarked unless the hit is free or your plan covers it.

Args:
    illustration_id: The id from a search_illustrations result (field illustrations[].id)
    ctx: MCP context for API access

Returns:
    {"url", "width", "height", "expires_in_seconds"}, or {"error"}
    explaining what would unlock the format. Read `width`/`height` from
    the response for the actual pixel size - it varies by illustration.
    Counts toward the paid-download limit: a refusal carries
    "retry_after_seconds".


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `illustration_id` | string | Yes | Illustration id from the results of search_illustrations (field illustrations[].id) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | Presigned download link. Valid for expires_in_seconds. Absent when error is set. |
| `error` | string | No | Set only on failure. |
| `width` | string | No | Pixel width of the file. |
| `height` | string | No | Pixel height of the file. |
| `expires_in_seconds` | string | No | Seconds the url stays valid. One hour. |
| `retry_after_seconds` | string | No | Seconds until the download limit resets. Set only when the limit refused the call. |

### List categories

**Slug:** `ICONS8_MCP_LIST_CATEGORIES`


List all available icon categories.

Args:
    ctx: MCP context for API access
    limit: Maximum number of results to return (default: 10)
    page: Page number for pagination (default: 1)

Returns:
    List of icon categories with subcategories


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `limit` | integer | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `docs` | string | No | Icon categories of the requested page. Absent when error is set. |
| `error` | string | No | Set only on failure. |

### List illustrations categories

**Slug:** `ICONS8_MCP_LIST_ILLUSTRATIONS_CATEGORIES`


List all available illustration categories.

Categories are subjects: animal, business, education, healthcare and so
on, each with subcategories. Pass a category's `pretty_id` to
search_illustrations to narrow a broad search word.

Args:
    ctx: MCP context for API access
    limit: Top-level categories per page (default: 10)
    page: Page number, 1-based (default: 1)
    parent_id: Optional category pretty_id, to narrow to that category

Returns:
    {"total", "categories"} where each category has pretty_id, title,
    illustrations_count and nested children - or {"error"}. With
    parent_id set, the one result is that category itself, with its
    children nested inside rather than listed at the top level.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `limit` | integer | No |  |
| `parent_id` | string | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `error` | string | No | Set only on failure. |
| `total` | string | No | Number of top-level categories. |
| `categories` | string | No | Categories of the requested page. Absent when error is set. |

### List illustrations styles

**Slug:** `ICONS8_MCP_LIST_ILLUSTRATIONS_STYLES`


List all available illustration styles.

Style is what keeps a set of illustrations looking like one family. Pick
one style and pass its `pretty_id` to search_illustrations for every
illustration in a project, the way you would keep to a single icon
platform.

Args:
    ctx: MCP context for API access
    limit: Styles per page (default: 50)
    page: Page number, 1-based (default: 1)
    free_only: Only styles whose illustrations a free Icons8 account can
        use and redistribute. A style without this flag needs a paid
        account - the ordinary case for a subscriber, not a style this
        user is barred from
    animated: True for animated styles only, False for static only.
        THIS IS A PROPERTY OF THE STYLE, NOT A COUNT. It says the style
        has video and animation formats at all - it does not say how many
        of its illustrations actually move, and usually very few do:
        measured on stage, `3d-business` carries the flag with 19
        animated illustrations out of 1497, `flexy` 15 out of 561, and
        `node` carries it with none at all yet. So use it to browse
        styles, and use search_illustrations(animated=True) to find
        illustrations that move - that one filters on `media_types`,
        which is the per-illustration answer

Returns:
    {"total", "styles"} where each style has pretty_id, title,
    illustrations_count, free_distribution and animated - or {"error"}


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `limit` | integer | No |  |
| `animated` | boolean | No |  |
| `free_only` | boolean | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `error` | string | No | Set only on failure. |
| `total` | string | No | Number of styles that match, before paging. |
| `styles` | string | No | Styles of the requested page. Absent when error is set. |

### List platforms

**Slug:** `ICONS8_MCP_LIST_PLATFORMS`


List all available icon platforms/styles.

Args:
    ctx: MCP context for API access
    limit: Maximum number of results to return (default: 100)
    page: Page number for pagination (default: 1)

Returns:
    List of icon platforms/styles


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `limit` | integer | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `docs` | string | No | Icon platforms (styles) of the requested page. The apiCode of each is the value of platform in search_icons. Absent when error is set. |
| `error` | string | No | Set only on failure. |

### Search icons

**Slug:** `ICONS8_MCP_SEARCH_ICONS`


Search genuine Icons8 icons by keyword.
Use English terms and consider Icon8's metaphors for better results.

SEARCH TIPS - Use these general approaches for better matches:
• Use simple, descriptive terms (e.g., "home", "user", "settings")
• Try action words for functions (e.g., "search", "download", "edit")
• Use object names for items (e.g., "phone", "computer", "car")
• Consider synonyms if first search doesn't work
• Think about what the icon represents conceptually
• Use single words or short phrases for best results

Args:
    query: The search term to find icons (use metaphors above for better results)
    ctx: MCP context for API access
    platform: Optional filter by platform/style (e.g., 'ios', 'fluent', 'color')
    category: Optional filter by category (e.g., 'transport', 'business')
    animated: Optional filter for icons that move. True returns only
        animated icons, False only static ones, and the default returns
        both. About one icon in fifty is animated. An animated result
        carries permanent animation.gif and animation.apng links that
        need no credential, so embedding one takes no further call. They
        render at the icon style's own size, whatever it is - do not
        upscale them, and call get_icon_animation if you need the number
    amount: Maximum number of results to return (default: 10)
    offset: Number of results to skip (for pagination)

Returns:
    {"icons": [...]} or {"error"}. An empty first page also carries a
    "note" saying what to try instead. Each entry of `icons` carries `id`:
    pass it as icon_id to get_icon_svg, get_icon_png_url or
    get_icon_animation. It is the only way to get an icon's id. `icon_id`
    repeats the id of the first entry only: choose among the entries.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes |  |
| `amount` | integer | No |  |
| `offset` | integer | No |  |
| `animated` | boolean | No |  |
| `category` | string | No |  |
| `platform` | string | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `note` | string | No | Set only on an empty first page: what to try instead. |
| `error` | string | No | Set only on failure. |
| `icons` | string | No | Matching icons. Absent when error is set. |
| `icon_id` | string | No | The id of the first result on this page, under the name get_icon_svg and get_icon_png_url take it; get_icon_animation takes it only if that result has isAnimated. Other ids are in icons[].id. Absent when there is no result. |

### Search illustrations

**Slug:** `ICONS8_MCP_SEARCH_ILLUSTRATIONS`


Search genuine Icons8 illustrations by keyword.

Illustrations are full scenes with people, objects and backgrounds. Reach
for one when a page needs a hero image, an empty state, an onboarding
step or a spot illustration. For a small symbol in a button, a menu or a
table, use search_icons instead.

Every result carries `preview.url`: a permanent CDN link (a small webp,
`width` and `height` beside it) that never expires and needs no second
call. It is a preview, for choosing and for mock-ups. A sign-in whose
plan covers illustrations gets it clean, and so does anyone for a hit
with `free_distribution: true`; anyone else gets it watermarked, "Icons8
Ouch" tiled across the frame. To publish, download the file:
get_illustration_png_url with size "standard" needs no plan,
get_illustration_svg needs one.

Some illustrations are animated. A result says so in `media_types`, and
almost all of those carry an `animation` block: `webm` and `mov` play
the animation, `poster` is the still frame. They are previews - see
below for what that costs - and get_illustration_animation is what
returns a file to publish, along with the <video> markup to publish it
with.

`animation.lottie` says whether a Lottie JSON exists for this
illustration, so you need not spend a call to find out. It is worth
checking: Lottie is missing from most work added since 2024, and two
illustrations in the same style often disagree about it. When it is
false, do not ask get_illustration_animation for "lottie".

MIND THE SIZE, AND READ IT FROM THE BLOCK. The animation links are
previews, 368x368 - fine for a spot, a card or a list row, too small for
a hero banner or a full-width section. Do not infer the size from
`preview`: the still preview is not square for about a third of
illustrations, while the animation always is. When the slot is large,
use `poster` (1200x1200, a still) or call get_illustration_animation for
the full-size video.

THE ANIMATION LINKS ARE FOR CHOOSING, NOT FOR SHIPPING. Two limits, and
both are invisible until the page is built:

- No transparency. `webm` and `mov` here are flat against an opaque
  #F7F7F7, and the preview `mov` carries no alpha layer at all. On a
  coloured or dark section they render as a light-grey rectangle; on a
  hero they are 368px. Only `poster` is transparent.
- A watermark, unless the account is entitled to the illustration.
  `animation.watermarked` says which you got, for these links, in this
  response: false means "Icons8 Ouch" is not tiled across the frame.
  It is false for a subscriber, and for anything with
  `free_distribution: true` whoever asks. It says nothing about the
  size or the transparency above, which apply either way.

Use them to pick an illustration, and `poster` where a still will do.
For anything that ships, call get_illustration_animation and host the
file: it is full size, transparent, and never watermarked.

A few animated illustrations carry no `animation` block at all, so read
the block, do not assume it.

SEARCH TIPS:
- Describe the scene, not the symbol: "team meeting", "online payment"
- One or two words work better than a sentence
- Pass `style` to keep a whole project on one visual family - get the
  available values from list_illustrations_styles
- Pass `category` to narrow a broad word - "cat" alone returns over a
  thousand hits; in category "animal" it returns far fewer, and in
  "business" fewer still. Values come from list_illustrations_categories
- Pass free_only=True for illustrations a free Icons8 account can use

ABOUT `free_distribution` IN THE RESULTS - do not warn the user about
licensing based on it:
- true means the illustration is available on a free Icons8 account and
  free to redistribute: the user may use and share it without a
  licence. Ouch skips the entitlement check for these and does not
  count them against a subscriber's allowance
- false means it needs a paid account. For a subscriber that is the
  ordinary case - available, and counted against their allowance. It
  does NOT mean *this* user cannot have it, and it does NOT mean some
  second licence beyond their subscription is required
Whether this user may download something is decided by the download
call, not by this flag. Ask for the asset; if it is refused, the error
says exactly what is missing. Never turn `free_distribution: false` into
a licence warning of your own.

Args:
    query: What the illustration should show (max 150 characters)
    ctx: MCP context for API access
    style: Optional style pretty_id from list_illustrations_styles
    category: Optional category pretty_id from list_illustrations_categories
    free_only: Only illustrations a free Icons8 account can use and
        redistribute without a licence
    animated: True for animated only, False for static only. Nearly every
        animated result carries an `animation` block - `webm` and `mov`
        previews, for choosing rather than shipping, plus a poster frame -
        but a few carry none, and some carry the poster without the video,
        so check the block rather than assuming its keys. For the
        full-size original, use get_illustration_animation.
    amount: Results per page (default: 10, max: 100)
    page: Page number, 1-based (this API paginates by page, not offset)

Returns:
    {"total", "illustrations"}, each entry carrying id, heading, styles,
    tags, media_types and a permanent preview link - plus an `animation`
    block when media_types includes "animated" - or {"error"}. `id` is
    what get_illustration_svg, get_illustration_png_url and
    get_illustration_animation take as illustration_id; it is the only
    way to get an illustration's id. `illustration_id` repeats the id of
    the first entry only: choose among the entries. A `note`, when present, says what to
    try instead after an empty first page, or else why a subscriber got
    the watermarked previews this time.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `query` | string | Yes |  |
| `style` | string | No |  |
| `amount` | integer | No |  |
| `animated` | boolean | No |  |
| `category` | string | No |  |
| `free_only` | boolean | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `note` | string | No | Set on an empty first page: what to try instead. Otherwise set only when a subscriber got the watermarked previews this time, and says why. |
| `error` | string | No | Set only on failure. |
| `total` | string | No |  |
| `illustrations` | string | No | Matching illustrations. Absent when error is set. |
| `illustration_id` | string | No | The id of the first result on this page, under the name get_illustration_svg and get_illustration_png_url take it; get_illustration_animation takes it only if that result's media_types includes animated. Other ids are in illustrations[].id. Absent when there is no result. |
