TestLLM_ToolConversionSnapshot 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. converted_tools
  2. [
  3. {
  4. "function": {
  5. "description": "Discover the GraphQL schema structure",
  6. "name": "introspect",
  7. "parameters": {
  8. "properties": {
  9. "typeName": {
  10. "description": "Optional type name to introspect",
  11. "type": "string"
  12. }
  13. },
  14. "type": "object"
  15. }
  16. },
  17. "type": "function"
  18. },
  19. {
  20. "function": {
  21. "description": "Execute a GraphQL query",
  22. "name": "query",
  23. "parameters": {
  24. "properties": {
  25. "query": {
  26. "description": "The GraphQL query string",
  27. "type": "string"
  28. }
  29. },
  30. "required": [
  31. "query"
  32. ],
  33. "type": "object"
  34. }
  35. },
  36. "type": "function"
  37. },
  38. {
  39. "function": {
  40. "description": "Execute a GraphQL mutation",
  41. "name": "mutate",
  42. "parameters": {
  43. "properties": {
  44. "mutation": {
  45. "description": "The GraphQL mutation string",
  46. "type": "string"
  47. }
  48. },
  49. "required": [
  50. "mutation"
  51. ],
  52. "type": "object"
  53. }
  54. },
  55. "type": "function"
  56. }
  57. ]