{
 "about": "Kept as tools for any function-calling model. Your code executes each call against the Kept API (POST /v1/events, /v1/recall, /v1/credit) and returns the result to the model.",
 "openai": [
  {"type": "function", "function": {"name": "kept_remember", "description": "Record something that happened in the agent's permanent memory.",
   "parameters": {"type": "object", "required": ["content"], "properties": {"content": {"type": "string"}, "type": {"type": "string"}, "task_id": {"type": "string"}, "metadata": {"type": "object"}}}}},
  {"type": "function", "function": {"name": "kept_recall", "description": "Ask the agent's memory about its past; returns only what is worth loading, with original evidence.",
   "parameters": {"type": "object", "required": ["query"], "properties": {"query": {"type": "string"}, "budget": {"type": "integer"}}}}},
  {"type": "function", "function": {"name": "kept_credit", "description": "Report whether the recalled memories helped; this changes future recall.",
   "parameters": {"type": "object", "required": ["recall_id", "success"], "properties": {"recall_id": {"type": "string"}, "success": {"type": "boolean"}, "used": {"type": "array", "items": {"type": "integer"}}}}}}
 ],
 "anthropic": [
  {"name": "kept_remember", "description": "Record something that happened in the agent's permanent memory.",
   "input_schema": {"type": "object", "required": ["content"], "properties": {"content": {"type": "string"}, "type": {"type": "string"}, "task_id": {"type": "string"}, "metadata": {"type": "object"}}}},
  {"name": "kept_recall", "description": "Ask the agent's memory about its past; returns only what is worth loading, with original evidence.",
   "input_schema": {"type": "object", "required": ["query"], "properties": {"query": {"type": "string"}, "budget": {"type": "integer"}}}},
  {"name": "kept_credit", "description": "Report whether the recalled memories helped; this changes future recall.",
   "input_schema": {"type": "object", "required": ["recall_id", "success"], "properties": {"recall_id": {"type": "string"}, "success": {"type": "boolean"}, "used": {"type": "array", "items": {"type": "integer"}}}}}
 ]
}
