Skip to content

Conversation

@chazcb
Copy link

@chazcb chazcb commented Jan 22, 2026

Proposal for allowing Agents to declare what input options they accept for session/new and session/load requests in InitializeResponse.

This complements the existing Session Config Options RFD:

  • Input Options: Discovery of options for session creation/loading
  • Config Options: Runtime configuration during a session

Key features:

  • JSON Schema subset for rich type definitions
  • Separate schemas for newSession vs loadSession
  • Enables dynamic client UIs for session configuration
  • All options are optional - Agents must provide defaults

@chazcb chazcb changed the title Add RFD: Session Input Options Discovery RFD: Session Input Options Discovery Jan 24, 2026
@chazcb chazcb marked this pull request as ready for review January 27, 2026 12:38
@chazcb chazcb requested a review from a team as a code owner January 27, 2026 12:38
chazcb and others added 2 commits January 27, 2026 07:43
Proposal for allowing Agents to declare what input options they accept
for session/new and session/load requests in InitializeResponse.

This complements the existing Session Config Options RFD:
- Input Options: Discovery of options for session creation/loading
- Config Options: Runtime configuration during a session

Key features:
- JSON Schema subset for rich type definitions
- Separate schemas for newSession vs loadSession
- Enables dynamic client UIs for session configuration
- All options are optional - Agents must provide defaults

Co-Authored-By: Claude <noreply@anthropic.com>
- Add `hint` for UI guidance (placeholder text, input hints)
- Add `default` for declaring default values agents will use
- Update examples to demonstrate usage
- Add open question about whether both description and hint are needed

Co-Authored-By: Claude <noreply@anthropic.com>
@chazcb chazcb force-pushed the chazcb/session-input-options branch from 59e4455 to 70166f4 Compare January 27, 2026 12:43
@chazcb
Copy link
Author

chazcb commented Jan 27, 2026

Planning to update to:

  1. Ensure that enums ("select") matches the select from Session Config Options feat: Stabilize Session Config Options #411
  2. Change "hint" to "name" for consistency with Session Config Options
  3. Update to clarify that there are two proposals in here: 1 for the richer options schema and 1 for session/new session/load config options

I might split the two proposals out in the near future depending on need!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant