GitHub Licenses Get All Commonly Used

1积分/次
ae_github_licenses_get_all_commonly_used

浏览并对比常用开源许可证(如 MIT、Apache 2.0、GPL),查看其名称、SPDX 标识符及说明。

效率工具
1积分/次

价格说明

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

工具参数

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

参数类型必填说明默认值
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
featuredboolean否暂无参数说明。—
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

调用示例

复制请求代码,查看对应的返回示例。

POST/agent-api/v1/tool/executeX-Api-Key
请求代码request.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_github_licenses_get_all_commonly_used' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "page": 1,
    "per_page": 30
  }
}'
返回示例response.json
JSON部分内容
[
  {
    "key": "agpl-3.0",
    "name": "GNU Affero General Public License v3.0",
    "node_id": "MDc6TGljZW5zZTE=",
    "spdx_id": "AGPL-3.0",
    "url": "https://api.github.com/licenses/agpl-3.0"
  }
]

返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。