record_artifact_read
Log memory artifact consultations to maintain session context and retrieval history.
Instructions
Record that a durable on-disk memory artifact was injected or consulted
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": {
"artifact_path": "<artifact_path>"
},
"name": "record_artifact_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Prompt/query that caused the artifact lookup | |
| score | No | Optional retrieval score used for ranking | |
| harness | No | Harness name, e.g. pi or opencode | |
| metadata | No | Optional structured metadata | |
| project_id | No | Optional project slug | |
| session_id | No | Optional session identifier | |
| artifact_path | Yes | Absolute or canonical artifact path | |
| artifact_type | No | Artifact kind (memory,current,decisions,handoff,promoted,project-artifact) |