list_clients
List every client and the providers each can reach, optionally verifying live sessions.
Instructions
List every client and which providers each can actually reach.
connected means the session opens right now, not that a credential is
filed. Those are different facts, and reporting the second as the first
is how two dead sessions read as connected for a day: nothing local can
tell them apart, because OAuth grants a token and never says another
word about it.
So this asks each provider, concurrently. Pass check=false to skip
that and report only what is stored, which is instant and was the old
behaviour.
stored is the union of two different things and says which is which.
api_key is a pasted key, used by the REST adapters; mcp_session is
an OAuth session, used by the provider's own tools. A provider can have
one and not the other, which is how plan_mail_setup refused a client
that client_status had just called connected. Neither list is a claim
that the credential works: it is a claim that one is filed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | No | Ask each provider whether the session still opens. False reports only what is stored, which is instant. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |