Skip to main content
Glama

yeepay_yop_link_detail

Retrieve detailed content from YeePay Open Platform (YOP) subpages or external links to access payment integration information and documentation.

Instructions

通过此工具,获取易宝支付开放平台(YOP)的各个子页面或者外部链接的详细内容,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容

Args: url: str - 易宝支付开放平台(YOP)的子页面的URL地址

Returns: str: 易宝支付开放平台(YOP)的各个子页面的详细内容

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

Implementation Reference

  • The main handler function for the 'yeepay_yop_link_detail' tool, registered via @mcp.tool() decorator. It fetches detailed content from YOP platform links, handling both absolute and relative URLs using HttpUtils.download_content.
    @mcp.tool() def yeepay_yop_link_detail(url: str) -> str: """ 通过此工具,获取易宝支付开放平台(YOP)的各个子页面或者外部链接的详细内容,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容 Args: url: str - 易宝支付开放平台(YOP)的子页面的URL地址 Returns: str: 易宝支付开放平台(YOP)的各个子页面的详细内容 """ try: if url.startswith("http"): return HttpUtils.download_content(url) url = ("https://open.yeepay.com/" + url).replace("//", "/") return HttpUtils.download_content(url) except (ValueError, TypeError, ConnectionError): return "HTTP请求失败, url: " + url
  • Registration of the 'yeepay_yop_link_detail' tool using the FastMCP @mcp.tool() decorator.
    @mcp.tool()
  • Docstring providing the tool schema, including description, arguments (url: str), and return type (str). Used by FastMCP for input/output schema.
    """ 通过此工具,获取易宝支付开放平台(YOP)的各个子页面或者外部链接的详细内容,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容 Args: url: str - 易宝支付开放平台(YOP)的子页面的URL地址 Returns: str: 易宝支付开放平台(YOP)的各个子页面的详细内容 """

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