Skip to main content
TroopyDocs
Open Troopy
Troopy

API reference / Troop

List the tools of teammates

Every tool that teammates use, in families: what it gives, which teammates hold it, whether it is on, and its calls in the last 30 days. An owner or admin switches a family or a tool off with PATCH /teammate-tools.

get/api/v1/teammate-tools

Authorization

HeaderAuthorization: Bearer <API key>
Or the headerX-API-Key: <API key>
API keyMake one in Troopy under Settings > API keys. It acts as you, in its workspace.

Other ways to call it

CLItroopy tools list
MCP tooltroopy_list_teammate_tools
Rate limit60 calls in 60 seconds, for each key

Response

200 · application/json
data*object
7 properties
days*integer

The days of use that each count covers

switchable*integer

How many tools can be switched off

on*integer

How many of those are on

teammates*array<object>

The troop, the most use first

5 properties
handle*string
name*string
avatar*object

Its face: a bot-avatars body type, colour (#RRGGBB), face and shading, a robot head, or an object with two eyes

6 properties
shape*enum<string>

cloverflowertrianglesquareblobghostcircledropstardroidmechalienhexagoncatcloudpilland 2 more

color*string
face*enum<string>

eyesmouth

shadingenum<string>

How its body is lit; fabric when unset

fabricplasticcrispsmoothflat

robotobject

A TV-headed robot (robot-heads) in place of the bot. shape, color, face and shading stay for the bot

5 properties
shape*enum<string>

rectanglesquarecirclehexagon

shell*string

The colour of its shell

trim*string

The colour of its ears and of the collar of its antenna

screen*string

The colour of the lights on its screen

antenna*boolean
objectobject

An object with two eyes in place of the bot. shape, color, face and shading stay for the bot

2 properties
shape*enum<string>

circlesquaretrianglepilldrophexagonpentagoncloudbeancloverflowersparkleburstapplechatbulband 13 more

color*string

The colour of the object

paused*boolean
uses*integer

Its tool calls in the last days days

families*array<object>
9 properties
key*enum<string>

browserbrainhelptasksskillsinboxbrain_editsemailhiringroutinescanvasesresearchbrandwebpicturesleadsand 13 more

section*enum<string>

alwaysbrainwebsalesnumbersengineeringcustom

name*string
about*string
always*boolean

The troop needs it to work, so it never switches off

whole*boolean

Its tools switch on and off as one: send its key in families, not one of its tools

stops*string | null

What stops while it is off

needs*array<object>

Apps its tools read from; it can't work until each is connected (POST /apps/{provider})

3 properties
id*enum<string>

stripeposthoggithubnotionhunterlemonsqueezypolarpaddledodopaymentssearchconsolemetaadsgooglecalendargeminiopenaifalreplicate

name*string
connected*boolean
tools*array<object>
8 properties
id*string

The tool's id, like search_web

label*string
about*string

What it gives, in one line

on*boolean

Off: no teammate uses it until an owner or admin switches it on

asks*boolean

A teammate that holds it asks a person before it runs

holders*array<string>

The handles of the teammates whose roles hold it

uses*integer

Its calls in the last days days, by every teammate

usedBy*array<object>

Its calls by teammate, the most first

2 properties
handle*string
uses*integer
tasks*array<object>

The tasks with the most tool calls, the troop's and each teammate's own, the most first

4 properties
key*string

The task's key, like VIR-12

title*string
uses*integer
usedBy*array<object>

Its calls by teammate, the most first

2 properties
handle*string
uses*integer
noTask*object

The tool calls of chats and answers with no task

2 properties
uses*integer
usedBy*array<object>

Its calls by teammate, the most first

2 properties
handle*string
uses*integer

Errors

401 unauthorizedSend an API key as `Authorization: Bearer tr_live_...`. Create one in Troopy under Settings.
403 forbiddenThe key lacks a scope this operation needs, or its owner lacks the role. detail says which; create a key with the scope, or ask an organization owner or admin.
429 rate_limitedWait the number of seconds in Retry-After, then retry.