conversation-session-plugin-mcp-skill-installed-enabled.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "version": 1,
  3. "fixtures": [
  4. {
  5. "id": "upstream-plugin-mcp-skill-installed-enabled-call",
  6. "description": "Plugin MCP skill installed+enabled: agent advertises mcp__plugin_e2e-plugin-mcp-ping_ping__ping as a tool, model uses it once.",
  7. "match": {
  8. "method": "POST",
  9. "pathIncludes": "/messages",
  10. "lastUserMessageIncludes": ["E2E_PLUGIN_MCP_PING_INSTALLED_ENABLED"],
  11. "bodyIncludes": ["E2E_PLUGIN_MCP_PING_INSTALLED_ENABLED"],
  12. "bodyExcludes": [
  13. "Generate a concise title",
  14. "CRITICAL: Respond with TEXT ONLY"
  15. ]
  16. },
  17. "replay": {
  18. "consumeOnce": true
  19. },
  20. "response": {
  21. "statusCode": 200,
  22. "toolUse": {
  23. "id": "toolu_e2e_plugin_mcp_ping_installed_enabled",
  24. "name": "mcp__plugin_e2e-plugin-mcp-ping_ping__ping",
  25. "input": {
  26. "message": "ping-installed-enabled"
  27. }
  28. }
  29. }
  30. },
  31. {
  32. "id": "upstream-plugin-mcp-skill-installed-enabled-final",
  33. "description": "Plugin MCP skill installed+enabled: final assistant text after the plugin MCP tool_result.",
  34. "match": {
  35. "method": "POST",
  36. "pathIncludes": "/messages",
  37. "bodyIncludes": [
  38. "E2E_PLUGIN_MCP_PING_INSTALLED_ENABLED",
  39. "toolu_e2e_plugin_mcp_ping_installed_enabled"
  40. ],
  41. "bodyExcludes": [
  42. "Generate a concise title",
  43. "CRITICAL: Respond with TEXT ONLY"
  44. ]
  45. },
  46. "response": {
  47. "statusCode": 200,
  48. "text": "upstream-e2e-ok"
  49. }
  50. }
  51. ]
  52. }