Kernel Operations
Tools for managing kernel connections. The kernel is the central hub for Andromeda services on each chain.
Note: Kernel tools support the optional
userIdparameter for session persistence. Include it in every call to maintain kernel configuration across reconnections.
switch_kernel
Switch to a different kernel on the current chain. Useful for connecting to custom kernel deployments.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
kernelAddress | string | Yes | The kernel address to switch to |
userId | string | No | Session identifier for persistent state |
Example
{
"kernelAddress": "andr1customkernel..."
}When to Use
- Connecting to a custom or private kernel
- Testing against different kernel versions
- Accessing ADOs registered to a specific kernel
get_kernel_info
Get information about the current kernel connection.
Parameters
None required.
Response
Returns:
- Kernel address
- Chain ID
- Connected services (ADODB, VFS, Economics, etc.)
- Kernel version