search_cards
Search the ready-made cards on the cnaps.ai home page — flows the cnaps.ai team built, tested and published for common tasks (remove a background, restore a photo, make an ad video…). Check here FIRST when the user describes a task: a card that fits is better than building a flow from models. Matches words in any language against every card's title and description, rarer words and title words counting more. cards holds the closest few matches in full; other_cards lists more by title only, closest first, and when the matches cover only some of your words it lists every other card too — read their titles. When nothing matches, cards is every card by title (matched=false) so you can pick one by meaning. Pass a card id as query to get that card's details. Run a card with fork_card.
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_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language to show card text in, e.g. 'ko' or 'en' (default en). Does not affect matching. | |
| query | No | What the user wants, in their words (e.g. 'remove background', '배경 제거'), or a card id. Omit to list every card. | |
| input_type | No | Only cards that take this input: image, video, text or audio. | |
| output_type | No | Only cards that produce this output: image, video, text or audio. |