Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
FRIDA_DEFAULT_DEVICE | No | Environment variable for setting the default Frida device | |
FRIDA_DEFAULT_REMOTE | No | Environment variable for setting the default remote Frida endpoint | |
FRIDA_DEVICE_FALLBACKS | No | Environment variable for controlling automatic device discovery fallback order |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
get_version | Get the Frida version. |
get_processes_resource | Get a list of processes from the currently selected default device as a readable string. |
get_devices_resource | Get a list of all devices as a readable string. |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
enumerate_processes | List all processes running on the system. Returns:
A list of process information dictionaries containing:
- pid: Process ID
- name: Process name |
enumerate_devices | List all devices connected to the system. Returns:
A list of device information dictionaries containing:
- id: Device ID
- name: Device name
- type: Device type
- hint: How to reference the device via device_id
- alias: Configured alias for remote devices (if any)
- default_candidate: Whether the device is the current default choice |
configure_remote_device | Connect to a remote Frida server and make it available for future requests. |
get_device | Get a device by its ID. Returns:
Information about the device |
get_usb_device | Get the USB device connected to the system. Returns:
Information about the USB device |
get_local_device | Get the local device. Returns:
Information about the local device |
get_process_by_name | Find a process by name. |
attach_to_process | Attach to a process by ID. |
spawn_process | Spawn a program. Returns:
Information about the spawned process |
resume_process | Resume a process by ID. Returns:
Status information |
kill_process | Kill a process by ID. Returns:
Status information |
create_interactive_session | Create an interactive REPL-like session with a process. This returns a session ID that can be used with execute_in_session to run commands.
Returns:
Information about the created session |
execute_in_session | Execute JavaScript code within an existing interactive Frida session. This tool allows for dynamic scripting against a process previously attached to
via `create_interactive_session`. |
get_session_messages | Retrieve and clear messages sent by persistent scripts in a session. Returns:
A list of messages captured since the last call, or an error if the session is not found. |