GitHub Issues List Labels On Issue

1积分/次
ae_github_issues_list_labels_on_issue

查看 GitHub 问题上已分配的所有标签,例如“bug”或“enhancement”。

效率工具
1积分/次

价格说明

1积分/次
条件费用
每次调用1积分/次

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_github_issues_list_labels_on_issue' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "repo": "xxx",
    "owner": "xxx",
    "issue_number": 1
  }
}'
请求方式
POST
接口地址
/agent-api/v1/tool/execute
鉴权方式
X-Api-Key
超时时间
60 秒
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
pageinteger否The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."1
repostring是The name of the repository without the `.git` extension. The name is not case sensitive.—
ownerstring是The account owner of the repository. The name is not case sensitive.—
per_pageinteger否The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."30
issue_numberinteger是The number that identifies the issue.—