preferences-get
preferences-getRetrieve current user preferences with optional worktree case resolution using machine_id and path, falling back to global case.
Instructions
Gets the current user's preferences. Pass path and machine_id to auto-resolve the worktree case as current_case_id (falls back to global current_case_id if no worktree match). Response includes case_source: 'worktree' or 'global'.
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": "preferences-get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| machine_id | No | Agent's machine hostname. Required with path for worktree case lookup. | |
| path | No | Agent's working directory (pwd). If provided with machine_id, overrides current_case_id with the worktree's linked case. |