TestMCP_ToolsList 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. tools_list
  2. {
  3. "jsonrpc": "2.0",
  4. "result": {
  5. "tools": [
  6. {
  7. "description": "Get GraphQL schema information - types, fields, queries, mutations. Use this to discover the API structure before making queries or mutations.",
  8. "inputSchema": {
  9. "additionalProperties": false,
  10. "properties": {
  11. "typeName": {
  12. "description": "Optional - specific type to introspect (e.g., 'Query', 'Mutation', 'User', 'Task'). If omitted, returns full schema overview.",
  13. "type": "string"
  14. }
  15. },
  16. "type": "object"
  17. },
  18. "name": "introspect"
  19. },
  20. {
  21. "description": "Execute GraphQL queries (read operations). Use for fetching data from the API. The query must be a valid GraphQL query string.",
  22. "inputSchema": {
  23. "additionalProperties": false,
  24. "properties": {
  25. "query": {
  26. "description": "GraphQL query string (e.g., 'query { users { id email } }')",
  27. "type": "string"
  28. },
  29. "variables": {
  30. "description": "Optional query variables as key-value pairs",
  31. "type": "object"
  32. }
  33. },
  34. "required": [
  35. "query"
  36. ],
  37. "type": "object"
  38. },
  39. "name": "query"
  40. },
  41. {
  42. "description": "Execute GraphQL mutations (create/update/delete operations). Use for modifying data in the API. The mutation must be a valid GraphQL mutation string.",
  43. "inputSchema": {
  44. "additionalProperties": false,
  45. "properties": {
  46. "mutation": {
  47. "description": "GraphQL mutation string (e.g., 'mutation { createUser(input: {email: \"test@example.com\", password: \"pass\", roles: []}) { id } }')",
  48. "type": "string"
  49. },
  50. "variables": {
  51. "description": "Optional mutation variables as key-value pairs",
  52. "type": "object"
  53. }
  54. },
  55. "required": [
  56. "mutation"
  57. ],
  58. "type": "object"
  59. },
  60. "name": "mutate"
  61. }
  62. ]
  63. }
  64. }