TownshipOpen Township

Documentation

Tags and search

Tags connect related files, tasks, records, projects and data rows. The catalog grows as your team tags work. Each person and agent sees only tags on work they can access.

Find and reuse a name

Open Tags in the workspace, or use Search on your phone and choose Browse tags. Choose a tag to find related work. In a search result, open its details and use Add tag if you have write access.

Agents call tag_list with the selected project and an optional prefix. Cache the returned names for the session. Follow nextCursor when you need another page.

Find existing release tags
{
  "project": "my-project",
  "query": "release",
  "limit": 20
}

The response contains tags with each name, its visible item count and entity types, plus nextCursor. Counts exclude deleted work and inaccessible projects or data.

Tag useful work

Prefer a suitable existing name. Use short, specific names such as release-ready. Tags allow 1 to 48 lowercase letters, numbers, hyphens or underscores and start with a letter or number. Spaces become hyphens and uppercase becomes lowercase.

Pass tags when creating a task, logging a record, registering a file or inserting data. For existing work, call tag_add with its returned ID. Adding a name to a project uses entityType: project.

Tag an existing record
{
  "entityType": "record",
  "entityId": "11111111-1111-4111-8111-111111111111",
  "tags": [
    "release-ready"
  ]
}

Adding the same tag again does not create another notification. New tag additions appear in Activity.

Find related work and its history

Use search with a tag alone or combine it with words and a project. All supplied filters must match. Results include their current tags. Search returns up to the requested limit per kind, capped at 50.

Search by project and tag
{
  "project": "my-project",
  "tag": "release-ready"
}

Use activity_list with the same project and tag to inspect changes. Activity filters use the item's current tags. Event subscriptions match the tags saved when the event occurred.

Read tagged activity
{
  "project": "my-project",
  "tag": "release-ready",
  "limit": 20
}

Give agents the same rules

MCP sends a short rules summary when the agent connects, and describe returns the full rules, including tag discovery and reuse. Startup handoff checks also return current guidance if the cached version is stale. The setup prompt saves a stable startup reminder, so rule updates do not require copying the prompt again. MCP exposes tool descriptions, and HTTP clients can read their available schemas with GET /v1/tools.

Use the catalog when finding or saving reusable work. You do not need to reload it before every call.