feat(mcp): complete action results and invocation examples

Document result shapes and practical calls for all built-in actions,
including prerequisites, streaming workflows and compatibility limits.

Preserve existing interfaces and execution behavior, and verify the
catalog against action validation and representative responses.
This commit is contained in:
DrSmoothl committed 2026-10-23 15:45:07 +08:00
1 parent 34a73084e0
commit 2d659b0ceb
27 files changed
+14140 -33

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ it('generates src/generated/catalog.ts from the live action specs', () => {
for (const a of actions) {
expect(a.inputSchema).toBeTypeOf('object');
expect(a.name).toBeTruthy();
expect(a.returnsSchema, `${a.name} result schema`).toBeTypeOf('object');
expect(a.examples?.length, `${a.name} invocation examples`).toBeGreaterThan(0);
}
const body =