Dump a session's stored context
spicrawl_session_contextReturn the full stored state of a LIVE session — cookies, localStorage and other credentials — plus its fingerprint and domain scores. The session_context object can be passed to spicrawl_session_create to clone the session. The result contains secrets (login cookies): do not echo it to the user or logs unless asked.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "spicrawl_session_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session id returned by spicrawl_session_create or spicrawl_session_list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| retired | No | Why the session was retired; absent while usable. | |
| warning | No | The API's reminder that this state dies with the session. | |
| created_at | No | Creation time, RFC 3339 UTC. | |
| expires_at | No | Current expiry, RFC 3339 UTC. | |
| session_id | Yes | The session id. | |
| fingerprint | No | Stored browser fingerprint; null when none. | |
| usage_count | No | ||
| last_used_at | No | Last use, RFC 3339 UTC; null if never used. | |
| domain_scores | No | Per-domain standing, keyed by domain. Omitted when empty. | |
| schema_version | No | ||
| session_context | No | Cookies and storage: secrets. Pass it as `session_context` to spicrawl_session_create to clone the session. |