Find records
find_recordsList records of one Armature class, filtered by matching field values, such as the items assessing an objective or the assessments of a module. Page results with count and skip.
Instructions
Records of one class, optionally those whose fields equal given values: the items that assess an objective (AssessmentItem, assesses = LearningObjective/…), the assessments of a module (Assessment, module = Module/…), the prerequisites of an objective (PrerequisiteRecord, objective = LearningObjective/…). A multi-valued field matches when it contains the value. Paged: count and skip. Armature refuses a filter on the person who made a record (createdBy, attestedBy) and says why.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>"
},
"name": "find_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | A commit id to read at, as an earlier answer named it: pass the commit from your first answer to every follow-up, so the conversation reads one state of the design. Pass this or branch, not both. | |
| skip | No | Records to skip, for the next page. | |
| type | Yes | The class to list, such as AssessmentItem or PrerequisiteRecord. | |
| count | No | At most this many records; 50 when left out. | |
| branch | No | The branch to read at its latest commit. Leave out to read the default branch (main unless configured otherwise). Pass this or ref, not both. | |
| filter | No | Field equals value, such as {"assesses": "LearningObjective/lateral-reading-check"}. A reference is given as Type/id. |