Search Poems
search-poemsFind poems on pplog using advanced query syntax. Search by keywords, dates, logic operators, and exclusions to locate specific verses.
Instructions
Searches for poems in pplog with advanced query syntax support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (starting from 1). If omitted, retrieves the first page. | |
| keyword | No | Search query for poems. Supports advanced search patterns: ## Important Note for Relative Date Queries: **CRITICAL: Always get today's actual date from the system before processing relative date queries (e.g., "today", "yesterday", "last week", "recent"). Convert relative terms to absolute dates for accurate searching.** ## Query Syntax: - Basic search: "keyword" for partial match, "exact phrase" for exact match - Negative search: "-keyword" to exclude - Date search: - date:2023 (year), date:2023-10 (month), date:2023-10-11 (day) - date>2023-10-01, date>=2023-10-01, date<2023-10-01, date<=2023-10-01 - before:2023-10-01, after:2023-10-01 - Logical operators: - AND (case-insensitive) or just space - OR (case-insensitive) - Grouping: (keyword1 OR keyword2) AND keyword3 Empty string returns all your poems. |