Skip to content

profile_recording

MCP tools › Run, test and tasks

The last Java profile's recording; runs nothing. view: timeline (default): from_ms..to_ms in columns (40): cpu %, per thread counts, samples, waited_ms, gc. view: events: types with count; with type, its events (limit 50) with properties (secrets hidden), frames. view: allocations: bytes allocated, hot_spots, call_tree.

Its results carry text from process: the client is told to treat that as data, never as instructions.

Capabilityexecution.profile_recording
AreaRun, test and tasks
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
from_msnumberStart, ms.
to_msnumberEnd, ms.
columnsinteger1–200.minimum 0
viewstringtimeline (default), events or allocations.
typestringFor events: a JFR event type.
limitintegerFor type: 1–200 events.minimum 0

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project profile_recording
Input schema as JSON
{
"type": "object",
"additionalProperties": false,
"properties": {
"from_ms": {
"description": "Start, ms.",
"type": [
"number",
"null"
]
},
"to_ms": {
"description": "End, ms.",
"type": [
"number",
"null"
]
},
"columns": {
"description": "1–200.",
"type": [
"integer",
"null"
],
"minimum": 0
},
"view": {
"description": "`timeline` (default), `events` or `allocations`.",
"type": [
"string",
"null"
]
},
"type": {
"description": "For `events`: a JFR event type.",
"type": [
"string",
"null"
]
},
"limit": {
"description": "For `type`: 1–200 events.",
"type": [
"integer",
"null"
],
"minimum": 0
}
}
}