search_posts
Search booru image boards by tags to fetch raw post lists with original tag strings, artist/character/copyright splits, and preview URLs for inspecting data before processing.
Instructions
Search a booru and return the raw post list (no cleaning). The same search semantics as search_prompts apply:
Query with one or more booru TAGs (underscores for multi-word: 'blue_hair', 'hatsune_miku'), never write natural language.
Tags AND together — every tag must be present in each returned post. PREFER A SINGLE TAG; stacking tags usually returns 0 posts. The cleaned prompt is where 'more detail' lives, not in the search query.
MULTI-TAG SEARCH IS SUPPORTED but each provider caps how many plain tags you may combine per query: danbooru/aibooru/e621 = 2, gelbooru/rule34 = 10 (metatags like order:rank or rating:safe do not count). Exceeding the limit returns an error; raise a provider's cap with the BOORU_MAX_TAGS_ env var.
When unsure how a concept is tagged, call
autocomplete_tagsfirst. Use this tool when you want to inspect the original tags before deciding how to process them. Each post carries its raw tag_string, the artist/character/copyright splits (when available), and optionally preview/file URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| tags | Yes | ||
| limit | No | ||
| order | No | popular | |
| rating | No | all | |
| provider | No | danbooru | |
| random_seed | No | ||
| include_preview | No | ||
| include_file_url | No |