Search UI animations and micro-interactions
search_motionSearch the motion library: UI animations and micro-interactions (button presses, toggles, toasts, number tickers, check-offs, thinking states, hover effects, sounds) from open-source libraries and designers' recordings, each with an exact spec and most with vanilla code. Any word can match ("habit streak tick" finds check-offs); more matched words rank higher. Use it when an interactive element should feel finished, then get_motion for the spec and code. To audit a whole library: source= fields=brief lists every entry in one call, with counts by category and by the source's own sections, and which code each has (vanilla, react, install, npm). For a whole UI, suggest_polish maps its parts to entries and sounds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_motion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Keywords, e.g. "copy button", "toast", "number ticker", "thinking shimmer". | |
| basis | No | Where the numbers come from - code (exact, read from source), video (measured from a recording) or rebuild. | |
| limit | No | Maximum results, 1 to 50 (100 with fields=brief, its default). | |
| fields | No | brief gives one short row per entry (id, title, category, group, code), up to 100 per call. | full |
| offset | No | Results to skip; pass nextOffset from the previous page. | |
| source | No | Comma-separated source ids, as listed by get_motion_guidelines. | |
| hasCode | No | Only entries with working code (a vanilla rebuild or original source). | |
| trigger | No | Comma-separated triggers (OR) - hover, press, click, focus, load, scroll, drag, state-change, loop, type. | |
| category | No | Comma-separated categories (OR): button, toggle, input, list, card, navigation, overlay, toast, loader, text, number, chat-ai, cursor, scroll, transition, icon, feedback, media, sound, other. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| next | No | ||
| total | No | ||
| entries | No | ||
| message | No | ||
| partial | No | ||
| byCategory | No | ||
| nextOffset | No | ||
| bySourceGroup | No |