keepfold_prime
Loads the user's profile, matching preferences, teaching contract and relevant pages before answering, and starts a chat log when the app keeps no transcript.
Instructions
Call with the user's message before answering, in every new chat and in an old chat continued with no prime call in it yet: their profile, the preferences matching it, the teaching contract core and 2-3 relevant pages (about 500 tokens), plus touch: topic hubs to record with keepfold_log(kind=touch). Needs no session. In a Claude app Keepfold has no transcript of (the Chat tab) it starts the chat's log and returns chat: log each later turn with keepfold_log(kind=chat_turn).
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": {
"prompt": "<prompt>"
},
"name": "keepfold_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| related_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||