Load or initialise the persistent session profile
load_session_profileLoads a session profile to return unified artist preferences and past work, starting each session with context without running multiple tools. Creates a default if missing.
Instructions
Reads ~/.tdmcp/session-profile.json (or a custom path) and returns a unified JSON snapshot that an agent should load at the start of every session. The profile caches the most recent outputs of style_memory, recall_similar_work, learn_conventions, and learn_from_my_corpus so the agent has the artist's preferences and past work at hand without running all four tools every time. If no file exists, a default skeleton is created and returned. Pass reset=true to overwrite with fresh defaults. The profile_path field in the returned object is always the resolved path that was read or written.
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": "load_session_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | If true, overwrite the existing profile with the built-in defaults and return them. | |
| profile_path | No | Absolute path to the session-profile JSON file. Defaults to ~/.tdmcp/session-profile.json. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Human-readable notes about what was loaded or defaulted. | |
| reset | Yes | True when reset=true was requested. | |
| created | Yes | True when the profile was created fresh (no prior file). | |
| loaded_at | Yes | ISO-8601 timestamp of this read. | |
| conventions | No | Snapshot from learn_conventions (Memory/conventions.md) if previously captured. | |
| recent_work | No | Top hits from recall_similar_work if previously captured. | |
| corpus_style | No | Snapshot from learn_from_my_corpus (Memory/corpus_style.md) if previously captured. | |
| profile_path | Yes | Absolute path of the profile file read or written. | |
| style_memory | No | Snapshot from style_memory (Memory/style.md) if previously captured. |