Back to home
Connect a client

Read runtime logs

Read a bounded runtime log snapshot. Use since or the returned cursor to request newer entries; each snapshot is limited to the latest 500 lines.

Arguments

NameTypeRequiredLimits
tailintegerNoMinimum 1; Maximum 500
sincestringNoSee schema
cursorstringNoSee schema
projectIdstringYesAt least 1 character(s)
Full input schema
{
  "type": "object",
  "properties": {
    "tail": {
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    },
    "since": {
      "type": "string"
    },
    "cursor": {
      "type": "string"
    },
    "projectId": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "projectId"
  ],
  "additionalProperties": false
}

Example call

The params of a tools/call request. Replace the placeholder values with your own IDs.

{
  "name": "getRuntimeLogs",
  "arguments": {
    "projectId": "REPLACE_WITH_PROJECT_ID"
  }
}

Result

The same data as the API operation, wrapped as {"untrusted_data": true, "source": "getRuntimeLogs", "note": "...", "data": ...} so the model treats project content as data, not instructions.