> ## Documentation Index
> Fetch the complete documentation index at: https://www.rootset.app/llms.txt
> Use this file to discover all available pages before exploring further.

# rootset_list_jobs

> List only currently authorised jobs and their truthful progress.

## Workflow

```mermaid theme={"system"}
flowchart LR
  discover["Read the table schema"] --> invoke["List jobs"]
  invoke --> outcome["Read the result"]
```

## Access and behavior

Requires a current workspace role of **Viewer** or higher. The connection needs `jobs:read` scope.

* This tool reads data without changing it.

## Arguments

| Argument | Required | Type | Details |
| - | - | - | - |
| `orgId` | Yes | string | Workspace ID returned by rootset\_get\_context. |
| `limit` | No | integer | Maximum number of items to return. |
| `cursor` | No | string or null | Continuation cursor from the previous response. |
| `databaseId` | No | string | ID of the database to work with. |
| `tableId` | No | string | ID of the table to work with. |
| `state` | No | "queued" or "running" or "succeeded" or "failed" or "cancelled" or "partially\_completed" | — |
| `kind` | No | string | — |
| `order` | No | "asc" or "desc" | — |

<Accordion title="Complete input schema">
  ```json theme={"system"}
  {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "orgId": {
        "type": "string",
        "pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "limit": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100
      },
      "cursor": {
        "anyOf": [
          {
            "type": "string",
            "maxLength": 131200
          },
          {
            "type": "null"
          }
        ]
      },
      "databaseId": {
        "type": "string",
        "pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "tableId": {
        "type": "string",
        "pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "state": {
        "type": "string",
        "enum": [
          "queued",
          "running",
          "succeeded",
          "failed",
          "cancelled",
          "partially_completed"
        ]
      },
      "kind": {
        "type": "string"
      },
      "order": {
        "type": "string",
        "enum": ["asc", "desc"]
      }
    },
    "required": ["orgId"],
    "additionalProperties": false
  }
  ```
</Accordion>

## Example call

Your client initializes the MCP connection before this call. Example identifiers and values are illustrative; use the IDs, schema version and values from your installation.

```json theme={"system"}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "rootset_list_jobs",
    "arguments": {
      "orgId": "01K6J7B8000000000000000000"
    }
  }
}
```

## Result

Read the structured result returned by the tool. A tool failure sets `isError`; do not treat an error as a completed operation. The [REST operation](/api-reference/listJobs) documents the corresponding result fields and errors.

[Connect an MCP client](/mcp-guide) · [REST conventions](/api-reference/overview)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.