php-sdk/tests/Integration
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christopher Hertel 43815e38a8
[Schema][Server] Harden sampling tools against the spec (#420)
* harden sampling tools against the spec

Report tool-flow violations as -32602 instead of dropping the request,
accept resource_link in tool results, gate tools on sampling.tools, and
reject empty content.

* normalize keyed content arrays to lists

array_filter() and friends preserve keys, and a keyed array serializes as a
JSON object instead of the content-block array the schema requires.
2026-08-15 04:13:53 +02:00
..
Fixture [Schema][Server] Harden sampling tools against the spec (#420) 2026-08-15 04:13:53 +02:00
ElicitationTest.php [Tests] Introduce client-server integration tests (#419) 2026-08-15 02:24:48 +02:00
HandshakeTest.php [Tests] Introduce client-server integration tests (#419) 2026-08-15 02:24:48 +02:00
IntegrationTestCase.php [Client] Implement setMaxRetries connection retries (#413) 2026-08-15 02:43:50 +02:00
NotificationTest.php [Tests] Introduce client-server integration tests (#419) 2026-08-15 02:24:48 +02:00
RequestTimeoutTest.php [Client] Implement setMaxRetries connection retries (#413) 2026-08-15 02:43:50 +02:00
RetryTest.php [Client] Implement setMaxRetries connection retries (#413) 2026-08-15 02:43:50 +02:00
RootsTest.php [Tests] Introduce client-server integration tests (#419) 2026-08-15 02:24:48 +02:00
SamplingTest.php [Tests] Introduce client-server integration tests (#419) 2026-08-15 02:24:48 +02:00
SamplingToolsTest.php [Schema][Server] Harden sampling tools against the spec (#420) 2026-08-15 04:13:53 +02:00