y-gy-automation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Y Gy Automation via Rube MCP

通过Rube MCP实现Y Gy自动化

Automate Y Gy operations through Composio's Y Gy toolkit via Rube MCP.
通过Composio的Y Gy工具包,借助Rube MCP自动化Y Gy操作。
工具包文档composio.dev/toolkits/y_gy

Prerequisites

前提条件

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Y Gy connection via
    RUBE_MANAGE_CONNECTIONS
    with toolkit
    y_gy
  • Always call
    RUBE_SEARCH_TOOLS
    first to get current tool schemas
  • 必须已连接Rube MCP(需具备RUBE_SEARCH_TOOLS功能)
  • 通过
    RUBE_MANAGE_CONNECTIONS
    并使用工具包
    y_gy
    建立有效的Y Gy连接
  • 请始终先调用
    RUBE_SEARCH_TOOLS
    以获取当前的工具模式

Setup

设置步骤

Get Rube MCP: Add
https://rube.app/mcp
as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
  1. Verify Rube MCP is available by confirming
    RUBE_SEARCH_TOOLS
    responds
  2. Call
    RUBE_MANAGE_CONNECTIONS
    with toolkit
    y_gy
  3. If connection is not ACTIVE, follow the returned auth link to complete setup
  4. Confirm connection status shows ACTIVE before running any workflows
获取Rube MCP:在客户端配置中将
https://rube.app/mcp
添加为MCP服务器。无需API密钥——只需添加端点即可使用。
  1. 通过确认
    RUBE_SEARCH_TOOLS
    能正常响应,验证Rube MCP是否可用
  2. 调用
    RUBE_MANAGE_CONNECTIONS
    并指定工具包
    y_gy
  3. 如果连接状态未处于ACTIVE,请按照返回的认证链接完成设置
  4. 在运行任何工作流之前,确认连接状态显示为ACTIVE

Tool Discovery

工具发现

Always discover available tools before executing workflows:
RUBE_SEARCH_TOOLS
queries: [{use_case: "Y Gy operations", known_fields: ""}]
session: {generate_id: true}
This returns available tool slugs, input schemas, recommended execution plans, and known pitfalls.
在执行工作流之前,请始终先发现可用工具:
RUBE_SEARCH_TOOLS
queries: [{use_case: "Y Gy operations", known_fields: ""}]
session: {generate_id: true}
这会返回可用的工具别名、输入模式、推荐的执行计划以及已知的注意事项。

Core Workflow Pattern

核心工作流模式

Step 1: Discover Available Tools

步骤1:发现可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Y Gy task"}]
session: {id: "existing_session_id"}
RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Y Gy task"}]
session: {id: "existing_session_id"}

Step 2: Check Connection

步骤2:检查连接状态

RUBE_MANAGE_CONNECTIONS
toolkits: ["y_gy"]
session_id: "your_session_id"
RUBE_MANAGE_CONNECTIONS
toolkits: ["y_gy"]
session_id: "your_session_id"

Step 3: Execute Tools

步骤3:执行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* schema-compliant args from search results */}
}]
memory: {}
session_id: "your_session_id"
RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* schema-compliant args from search results */}
}]
memory: {}
session_id: "your_session_id"

Known Pitfalls

已知注意事项

  • Always search first: Tool schemas change. Never hardcode tool slugs or arguments without calling
    RUBE_SEARCH_TOOLS
  • Check connection: Verify
    RUBE_MANAGE_CONNECTIONS
    shows ACTIVE status before executing tools
  • Schema compliance: Use exact field names and types from the search results
  • Memory parameter: Always include
    memory
    in
    RUBE_MULTI_EXECUTE_TOOL
    calls, even if empty (
    {}
    )
  • Session reuse: Reuse session IDs within a workflow. Generate new ones for new workflows
  • Pagination: Check responses for pagination tokens and continue fetching until complete
  • 始终先搜索:工具模式会发生变化。在未调用
    RUBE_SEARCH_TOOLS
    的情况下,切勿硬编码工具别名或参数
  • 检查连接状态:在执行工具之前,通过
    RUBE_MANAGE_CONNECTIONS
    确认连接状态为ACTIVE
  • 模式合规性:使用搜索结果中给出的精确字段名和类型
  • Memory参数:在
    RUBE_MULTI_EXECUTE_TOOL
    调用中始终包含
    memory
    参数,即使它是空的(
    {}
  • 会话复用:在一个工作流内复用会话ID。对于新的工作流,请生成新的会话ID
  • 分页处理:检查响应中的分页令牌,并持续获取数据直到完成

Quick Reference

快速参考

OperationApproach
Find tools
RUBE_SEARCH_TOOLS
with Y Gy-specific use case
Connect
RUBE_MANAGE_CONNECTIONS
with toolkit
y_gy
Execute
RUBE_MULTI_EXECUTE_TOOL
with discovered tool slugs
Bulk ops
RUBE_REMOTE_WORKBENCH
with
run_composio_tool()
Full schema
RUBE_GET_TOOL_SCHEMAS
for tools with
schemaRef

Powered by Composio
操作方法
查找工具使用Y Gy特定的用例调用
RUBE_SEARCH_TOOLS
建立连接使用工具包
y_gy
调用
RUBE_MANAGE_CONNECTIONS
执行操作使用发现的工具别名调用
RUBE_MULTI_EXECUTE_TOOL
批量操作
RUBE_REMOTE_WORKBENCH
中使用
run_composio_tool()
完整模式对带有
schemaRef
的工具调用
RUBE_GET_TOOL_SCHEMAS

Composio提供支持