link_session
Link an AI agent session to a task so it can be resumed later. Replaces any previous link; call when starting or resuming work.
Instructions
Link the AI agent session you're working in to a task, so it can be
resumed later. agent is 'claude-code' or 'github-copilot-cli';
directory is the absolute working directory of this session; session_id
is this session's own id (used with --resume) if you know it; launcher is
the command or shell alias used to start the agent (it selects the profile,
e.g. 'claude-work') — omit to use the agent's default command. Re-linking
replaces any previous link. Call this when you start or resume work on a task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| task_id | Yes | ||
| launcher | No | ||
| directory | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||