工具获取
curl --location --request POST 'https://data-api.investoday.net/data/mcp?apiKey=********************' \
--header 'Accept: application/json, text/plain, */*' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--header 'Host: data-api.investoday.net' \
--header 'Connection: keep-alive' \
--data-raw '{
"jsonrpc": "2.0",
"method": "tools/list",
"params": {},
"id": 2
}'工具调用
curl --location --request GET 'https://data-api.investoday.net/data/mcp?apiKey=********************' \
--header 'Accept: application/json, text/plain, */*' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--header 'Host: data-api.investoday.net' \
--header 'Connection: keep-alive' \
--data-raw '{
"jsonrpc": "2.0",
"method": "get_derivative_news",
"params": {
"pageNum": 1,
"pageSize": 10,
},
"id": 2
}'