@@ -18,6 +18,7 @@ This guide covers common use cases for the Copilot SDK for Java. For complete AP
1818- [ Connection State & Diagnostics] ( #Connection_State__Diagnostics )
1919- [ Message Delivery Mode] ( #Message_Delivery_Mode )
2020- [ Session Management] ( #Session_Management )
21+ - [ SessionConfig Reference] ( #SessionConfig_Reference )
2122
2223---
2324
@@ -563,6 +564,36 @@ client.deleteSession(sessionId).get();
563564
564565---
565566
567+ ## SessionConfig Reference
568+
569+ Complete list of all ` SessionConfig ` options for ` createSession() ` :
570+
571+ | Option | Type | Description | Guide |
572+ | --------| ------| -------------| -------|
573+ | ` sessionId ` | String | Custom session ID (auto-generated if omitted) | — |
574+ | ` model ` | String | AI model to use | [ Choosing a Model] ( #Choosing_a_Model ) |
575+ | ` reasoningEffort ` | String | Reasoning depth: ` "low" ` , ` "medium" ` , ` "high" ` , ` "xhigh" ` | [ Reasoning Effort] ( #Reasoning_Effort ) |
576+ | ` tools ` | List< ; ToolDefinition> ; | Custom tools the assistant can invoke | [ Custom Tools] ( advanced.html#Custom_Tools ) |
577+ | ` systemMessage ` | SystemMessageConfig | Customize assistant behavior | [ System Messages] ( advanced.html#System_Messages ) |
578+ | ` availableTools ` | List< ; String> ; | Allowlist of built-in tool names | [ Tool Filtering] ( #Tool_Filtering ) |
579+ | ` excludedTools ` | List< ; String> ; | Blocklist of built-in tool names | [ Tool Filtering] ( #Tool_Filtering ) |
580+ | ` provider ` | ProviderConfig | BYOK API provider configuration | [ BYOK] ( advanced.html#Bring_Your_Own_Key_BYOK ) |
581+ | ` onPermissionRequest ` | PermissionHandler | Handler for permission requests | [ Permission Handling] ( advanced.html#Permission_Handling ) |
582+ | ` onUserInputRequest ` | UserInputHandler | Handler for user input requests | [ User Input Handling] ( advanced.html#User_Input_Handling ) |
583+ | ` hooks ` | SessionHooks | Lifecycle and tool execution hooks | [ Session Hooks] ( hooks.html ) |
584+ | ` workingDirectory ` | String | Working directory for file operations | [ Working Directory] ( #Working_Directory ) |
585+ | ` streaming ` | boolean | Enable streaming response chunks | [ Streaming Responses] ( #Streaming_Responses ) |
586+ | ` mcpServers ` | Map< ; String, Object> ; | MCP server configurations | [ MCP Servers] ( mcp.html ) |
587+ | ` customAgents ` | List< ; CustomAgentConfig> ; | Custom agent definitions | [ Custom Agents] ( advanced.html#Custom_Agents ) |
588+ | ` infiniteSessions ` | InfiniteSessionConfig | Auto-compaction for long conversations | [ Infinite Sessions] ( advanced.html#Infinite_Sessions ) |
589+ | ` skillDirectories ` | List< ; String> ; | Directories to load skills from | [ Skills] ( advanced.html#Skills_Configuration ) |
590+ | ` disabledSkills ` | List< ; String> ; | Skills to disable by name | [ Skills] ( advanced.html#Skills_Configuration ) |
591+ | ` configDir ` | String | Custom configuration directory | [ Config Dir] ( advanced.html#Custom_Configuration_Directory ) |
592+
593+ See [ SessionConfig] ( apidocs/com/github/copilot/sdk/json/SessionConfig.html ) Javadoc for full details.
594+
595+ ---
596+
566597## Next Steps
567598
568599- 📖 ** [ Advanced Usage] ( advanced.html ) ** - Tools, BYOK, MCP Servers, System Messages, Infinite Sessions, Skills
0 commit comments