init_session
Start a session and recover recent task history from the last 3 days, with optional project or branch filtering to restore context.
Instructions
会话启动时调用,返回最近 3 天内进行中的任务列表,帮助恢复上下文。
Args: params (InitSessionInput): 包含: - project_name (Optional[str]): 项目名称过滤,精确匹配 - branch_name (Optional[str]): 分支名称过滤,精确匹配
Returns: Dict: {"success": bool, "data": List[Dict], "prompt": str}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |