Skip to main content
Glama

yeepay_yop_java_sdk_user_guide

Access detailed user guides for Yeepay Open Platform's (YOP) Java SDK. Utilize this tool to retrieve markdown-formatted instructions and further explore linked content for in-depth usage insights.

Instructions

通过此工具,获取易宝支付开放平台(YOP)的yop-java-sdk的使用说明,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容

Returns: str: 易宝支付开放平台(YOP)的yop-java-sdk的使用说明(markdown格式)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function implementing the yeepay_yop_java_sdk_user_guide tool. It fetches the current platform version and downloads the Java SDK user guide from the Yeepay YOP platform, with a fallback URL on error. The @mcp.tool() decorator registers the tool.
    @mcp.tool() def yeepay_yop_java_sdk_user_guide() -> str: """ 通过此工具,获取易宝支付开放平台(YOP)的yop-java-sdk的使用说明,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容 Returns: str: 易宝支付开放平台(YOP)的yop-java-sdk的使用说明(markdown格式) """ try: platform_info = json.loads( HttpUtils.download_content( "https://open.yeepay.com/apis/commons/doc/platform/info" ) ) platform_version = platform_info.get("data").get("docVersion") return HttpUtils.download_content( "https://open.yeepay.com/apis/docs/platform/" + platform_version + "/sdk_guide/java-sdk-guide.html" ) except (ValueError, TypeError, ConnectionError): return HttpUtils.download_content( "https://open.yeepay.com/docs-v3/platform/201.md" )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yop-platform/yop-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server