107 lines
3.0 KiB
JSON
107 lines
3.0 KiB
JSON
{
|
|
"v": 12,
|
|
"name": "xAiMcpServer",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "17",
|
|
"name": "Initialize",
|
|
"method": "POST",
|
|
"endpoint": "<<xBaseUrl>>",
|
|
"params": [],
|
|
"headers": [],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"initialize\",\n \"params\": {\n \"protocolVersion\": \"2025-06-18\",\n \"capabilities\": {},\n \"clientInfo\": {\n \"name\": \"postman-test-client\",\n \"version\": \"1.0.0\"\n }\n }\n}"
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retrieve Tools List",
|
|
"method": "POST",
|
|
"endpoint": "<<xBaseUrl>>",
|
|
"params": [],
|
|
"headers": [],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"jsonrpc\": \"2.0\",\n \"id\": 2,\n \"method\": \"tools/list\",\n \"params\": {}\n}"
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Tool Calling",
|
|
"method": "POST",
|
|
"endpoint": "<<xBaseUrl>>",
|
|
"params": [],
|
|
"headers": [],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"id\": 2,\n\t\"method\": \"tools/call\",\n\t\"params\": {\n\t\t\"name\": \"Echo\",\n\t\t\"arguments\": { \"message\": \"Hadi Khazaee Asl\" }\n\t}\n}\n"
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Convert Date",
|
|
"method": "POST",
|
|
"endpoint": "<<xBaseUrl>>",
|
|
"params": [],
|
|
"headers": [],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"jsonrpc\": \"2.0\",\n \"id\": 2,\n \"method\": \"tools/call\",\n \"params\": {\n \"name\": \"ConvertDate\",\n \"arguments\": {\n \"date\": \"1405/08/14\",\n \"fromCalendar\": \"Persian\",\n \"toCalendar\": \"Gregorian\"\n }\n }\n}"
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {},
|
|
"description": null
|
|
}
|
|
],
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"headers": [],
|
|
"variables": [
|
|
{
|
|
"key": "xBaseUrl",
|
|
"initialValue": "https://localhost:7001/mcp",
|
|
"currentValue": "",
|
|
"secret": false
|
|
}
|
|
],
|
|
"description": "",
|
|
"preRequestScript": "",
|
|
"testScript": ""
|
|
} |