get_examples
Retrieve example flashcards from Anki to assist in creating new cards, using customizable sampling techniques like recent additions, most reviewed, or best performance, with optional deck filtering.
Instructions
Get example notes from Anki to guide your flashcard making. Limit the number of examples returned and provide a sampling technique:
- random: Randomly sample notes
- recent: Notes added in the last week
- most_reviewed: Notes with more than 10 reviews
- best_performance: Notes with less than 3 lapses
- mature: Notes with interval greater than 21 days
- young: Notes with interval less than 7 days
Args:
deck: Optional[str] - Filter by specific deck (use exact name).
limit: int - Maximum number of examples to return (default 5).
sample: str - Sampling technique (random, recent, most_reviewed, best_performance, mature, young).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
deck | No | ||
limit | No | ||
sample | No | Sampling technique: random, recent (added last 7d), most_reviewed (>10 reps), best_performance (<3 lapses), mature (ivl>=21d), young (ivl<=7d) | random |
Input Schema (JSON Schema)
{
"properties": {
"deck": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Deck"
},
"limit": {
"default": 5,
"minimum": 1,
"title": "Limit",
"type": "integer"
},
"sample": {
"default": "random",
"description": "Sampling technique: random, recent (added last 7d), most_reviewed (>10 reps), best_performance (<3 lapses), mature (ivl>=21d), young (ivl<=7d)",
"pattern": "^(random|recent|most_reviewed|best_performance|mature|young)$",
"title": "Sample",
"type": "string"
}
},
"title": "get_examplesArguments",
"type": "object"
}