Search Items
Follow the item-operations skill (${CLAUDE_PLUGIN_ROOT}/skills/item-operations/SKILL.md) for the query syntax, filters and batch rules; read it before the first call.
Arguments
collection(required) — Collection namequery(required) — Search text
Process
- Parse collection name and search query
- Call
schematool withkeys: ["<collection>"]to determine best display fields - Call
itemstool with:{ "action": "read", "collection": "<collection>", "query": { "search": "<query>", "fields": ["id", "<main_field>", "<secondary_fields>"], "limit": 20 } } - Display matching items as a table
- Show count of results found
Example
Input: articles machine learning
{
"action": "read",
"collection": "articles",
"query": {
"search": "machine learning",
"fields": ["id", "title", "status", "date_created"],
"limit": 20
}
}