yeepay_yop_sdk_and_tools_guide
Access usage instructions for YOP SDKs and tools, including integration best practices. Contains links to detailed content for further exploration.
Instructions
通过此工具,获取易宝支付开放平台(YOP)提供的各种SDK和工具的使用说明,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容
Returns: str: 易宝支付开放平台(YOP)提供的各种SDK和工具的使用说明,以及对接最佳实践等(markdown格式)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- yop_mcp/main.py:132-147 (handler)The handler function for the 'yeepay_yop_sdk_and_tools_guide' tool. It is registered via the @mcp.tool() decorator. The function downloads content from 'https://open.yeepay.com/docs-v3/platform/llms.txt' using HttpUtils and returns it as a string, handling potential download errors.@mcp.tool() def yeepay_yop_sdk_and_tools_guide() -> str: """ 通过此工具,获取易宝支付开放平台(YOP)提供的各种SDK和工具的使用说明,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容 Returns: str: 易宝支付开放平台(YOP)提供的各种SDK和工具的使用说明,以及对接最佳实践等(markdown格式) """ try: return HttpUtils.download_content( "https://open.yeepay.com/docs-v3/platform/llms.txt" ) except (ValueError, TypeError, ConnectionError): return "HTTP请求失败, url: https://open.yeepay.com/docs-v3/platform/llms.txt"