jules_session_info
Check current Google Jules AI coding assistant session configuration and authentication status to verify active connection and settings.
Instructions
Get current session configuration and authentication status
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1697-1721 (handler)The main handler function for the 'jules_session_info' tool. It constructs and returns a JSON object containing the current MCP session configuration, including session mode, authentication methods available, browser status, and other runtime details.private async getSessionInfo(args: any) { const sessionInfo = { sessionMode: this.config.sessionMode, hasUserDataDir: !!this.config.userDataDir, hasCookiePath: !!this.config.cookiePath, hasGoogleAuthCookies: !!this.config.googleAuthCookies, hasBrowserbaseConfig: !!(this.config.browserbaseApiKey && this.config.browserbaseProjectId), browserbaseSessionId: this.config.browserbaseSessionId, isHeadless: this.config.headless, timeout: this.config.timeout, baseUrl: this.config.baseUrl, dataPath: this.config.dataPath, browserConnected: !!this.browser, pageReady: !!this.page }; return { content: [ { type: 'text', text: `Jules MCP Session Info:\\n${JSON.stringify(sessionInfo, null, 2)}` } ] }; }
- src/index.ts:389-390 (registration)Registration and dispatch of the tool handler within the CallToolRequestSchema switch statement in setupToolHandlers().case 'jules_setup_wizard': return await this.setupWizard(args);
- src/index.ts:266-273 (registration)Tool registration in the ListToolsRequestSchema response array, defining the tool name, description, and input schema.name: 'jules_session_info', description: 'Get current session configuration and authentication status', inputSchema: { type: 'object', properties: {}, }, }, {
- src/index.ts:269-272 (schema)Input schema definition for the tool, specifying an empty object (no required parameters). Embedded within the tool registration.type: 'object', properties: {}, }, },