context_list
List saved project rules, decisions, constraints, and notes with IDs and revisions; check existing context before adding records or find the revision needed for updates.
Instructions
List the saved context of the current project: rules, decisions, constraints and notes, with their ids and revisions. Archived records and disabled instructions are left out unless include_deleted or include_disabled is set; the filters combine with AND. Use it to check what the project already remembers before context_add, or to find the record and revision for context_update.
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": "context_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Optional kind filters: note, decision, instruction, constraint. | |
| limit | No | Maximum records to return. | |
| sources | No | Optional source filters: user, agent, import. | |
| visibilities | No | Optional visibility filters: shared, local_only. | |
| sensitivities | No | Optional sensitivity filters: normal, private. | |
| include_deleted | No | Include archived records. | |
| include_disabled | No | Include disabled instructions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| contexts | Yes | ||
| schema_version | Yes |