tag_get
Fetch a single OmniFocus tag by its persistent ID, returning tag details and task count.
Instructions
Fetch a single tag by its persistent ID, including task count. Do not use to list multiple tags; prefer tag_list instead. Returns tag details; no side effects. Example: tag_get({ id: "tag123" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Persistent tag ID. Get from tag_list. IDs are stable across renames. | |
| fields | No | Restrict the returned tag to this list of top-level fields (id is always returned). Omit for the full tag shape. Empty array returns just id. Unknown names surface in meta.warnings.WARN_UNKNOWN_FIELDS. | |
| verbose | No | When true, return the full unelided tag shape. Default: false — fields equal to their documented default are omitted. See docs/token-cost.md for the defaults table. |