GET
/
{resourceSlug}
/
tools.json
curl --request GET \
  --url https://app.agentcloud.dev/{resourceSlug}/tools.json
[
  {
    "_id": "<string>",
    "orgId": "<string>",
    "teamId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "type": "function",
    "asdf": "<string>",
    "retriever_type": "raw",
    "retriever_config": {
      "k": 123,
      "metadata_field_info": [
        {
          "name": "<string>",
          "description": "<string>",
          "type": "string"
        }
      ]
    },
    "datasourceId": "<string>",
    "state": "pending",
    "data": {
      "runtime": "<string>",
      "builtin": true,
      "name": "<string>",
      "description": "<string>",
      "apiKey": "<string>",
      "environmentVariables": {},
      "parameters": {
        "properties": {},
        "required": [
          "<string>"
        ]
      },
      "code": "<string>",
      "requirements": "<string>",
      "openAPIMatchKey": "<string>"
    },
    "icon": {
      "id": {},
      "filename": "<string>"
    },
    "hidden": true,
    "functionId": "<string>",
    "revisionId": "<string>",
    "functionLogs": "<string>"
  }
]

Path Parameters

resourceSlug
string
required

The resourceSlug is a url parameter of the teamId associated with the user. Anywhere the resourceSlug is used can be interpreted as a teamId

Response

200
tools.json

JSON object containing an array of all the tools associated tools with that teamId, will return an empty array if the request is successful but there are no associated tools.

The response is of type object[].