search_posts
Search Gelbooru posts using tags, filters, and sorting options to find specific images based on criteria like rating, score, dimensions, or user uploads.
Instructions
Search Gelbooru posts by tags, page, limit, or ID. Supports all Gelbooru tag syntax: AND (tag1 tag2), OR ({t1~t2}), NOT (-tag), wildcards (tag / tag), meta-tags like rating:safe/questionable/explicit, score:>=N, width:>=N, user:name, sort:random, sort:score:desc, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag query string. Examples: 'cat_ears blue_eyes', 'touhou -rating:explicit', 'score:>=50 sort:score:desc' | |
| limit | No | Number of posts to return (default 20, max 100). | |
| pid | No | Page number (0-indexed). | |
| id | No | Fetch a single post by its Gelbooru ID. | |
| cid | No | Fetch posts by change ID (Unix timestamp). |