[Schema][Client][Server] Deprecate Roots, Sampling and Logging (SEP-2577) (#427)
* [Schema][Client][Server] Deprecate Roots, Sampling and Logging (SEP-2577) * Emit runtime deprecation notices and document the migration (SEP-2596)
This commit is contained in:
parent
1ff9a74521
commit
590afb575b
1 changed files with 120 additions and 0 deletions
|
|
@ -18,6 +18,9 @@ use Mcp\Schema\Result\CreateSamplingMessageResult;
|
|||
* Contract for callbacks used by SamplingRequestHandler.
|
||||
*
|
||||
* Implementations perform the actual LLM sampling when requested by the server.
|
||||
*
|
||||
* @deprecated since protocol revision 2026-07-28 (SEP-2577), earliest removal 2027-07-28.
|
||||
* Integrate with an LLM provider's API directly instead.
|
||||
*/
|
||||
interface SamplingCallbackInterface
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue