-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
SchemaIssues & PRs related to the Schema componentIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentIssues & PRs related to the Server component
Description
This is a tracking issue for implementation of SEP-1577.
Summary
This extension adds tools and toolChoice parameters to sampling/createMessage, enabling MCP servers to run their own agentic loops using the client's tokens under user supervision. The PHP SDK needs to implement:
- New
toolsandtoolChoiceparameters inCreateMessageRequest - New content types:
ToolUseContentandToolResultContentinSamplingMessage - Updated
CreateMessageResultwith array content support and explicitstopReasonvalues - New client capability:
sampling.tools - Soft-deprecation of
includeContext(now fenced bysampling.contextcapability)
This reduces complexity for client implementations while unlocking agentic tool-calling patterns in sampling requests.
Related Issues & PRs
- Implementation PRs: n/a
- Related PRs: SEP-1577 - Sampling With Tools modelcontextprotocol#1796
- Related Issues: n/a
chr-hertel
Metadata
Metadata
Assignees
Labels
SchemaIssues & PRs related to the Schema componentIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentIssues & PRs related to the Server component
Type
Projects
Status
No status