工具获取
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 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/call",
"params": {
"name": "get_stock_quote_realtime",
"args": {}
}
}'