List labels
list_labelsLists Gmail labels or Outlook categories in a connected mailbox, optionally for a specific account, so you can inspect available organization options before assigning mail.
Instructions
List the Gmail labels or Outlook categories in a mailbox.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Account to operate on. Optional when exactly one account is connected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |