List functions

SDK platic.tools.functions.list()

Read the workspace's custom functions, limits, and current usage.

Example

await platic.tools.functions.list();

Query parameters

ParameterTypeDescriptionRequired
workspacestringOnly if the credential covers several workspaces: the workspace to act in—

Response

{
  "status": "success",
  "data": [
    {
      "id": "Hk2s9QmXc1",
      "name": "tax_id_lookup",
      "displayName": "Tax ID lookup",
      "description": "Looks up a customer's company name by tax ID. Use it when the customer gives their tax ID.",
      "status": "enabled",
      "allowedDomains": ["api.example.com"],
      "timeoutSeconds": 20,
      "liveVersion": 2,
      "lastVerify": { "ok": true, "at": "2026-11-24T18:00:00.000Z", "issues": [] },
      "toolName": "fn_tax_id_lookup",
      "toolId": "Hk2s9QmXc1",
      "secrets": [
        {
          "slot": "API_KEY",
          "origin": "https://api.example.com",
          "state": "bound",
          "secretId": "5d0c7a1e9b3f4a6c8e2d1f0b7a9c3e5d6f8a0b2c4d6e8f1a3b5c7d9e0f2a4b6c"
        }
      ],
      "nextStep": "Live (version 2). Connect it to an agent with PUT /v1/agents/{agentId}/tools/Hk2s9QmXc1."
    }
  ],
  "limits": {
    "functionsPerWorkspace": 20,
    "callsPerMinutePerFunction": 60,
    "callsPerDayPerWorkspace": 5000,
    "callsPerMonthPerWorkspace": 50000,
    "deploysPerDayPerWorkspace": 50,
    "timeoutSeconds": { "min": 1, "max": 60, "default": 20 },
    "memoryMb": 256
  },
  "usage": { "today": 132, "month": 2840, "functions": 3, "deploysToday": 4 }
}

Response fields

FieldTypeDescription
dataarrayThe functions, with the fields of Get a function. The list can leave out source
limitsobjectThe workspace's limits. See Get usage
usageobjectToday's and the month's calls, functions created and today's deployments

limits and usage go next to data, at the root. The list is not paginated, so it has no nextPageToken.

Errors

Statusdetails.codeWhen
400INVALID_REQUESTThe credential covers several workspaces and workspace is missing or is not one of them
401UNAUTHENTICATEDThe credential is missing, or revoked or expired
403FORBIDDENThe person behind the token does not have access to Integrations

See Errors for the rest of the section's codes.

Notes