Morfiade
v0.2.3Manage local Chrome profiles on Windows: own cookies, sessions and proxy per profile.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_profiles
List the browser profiles the owner has allowed for the agent (the "API" column in Morfiade); other profiles are invisible here. For each: name, whether it is running, proxy (password hidden), proxy type, the last proxy check (alive or not, and when), category, antidetect on/off, debug_port (debug-port mode: Cloudflare checks and Google sign-in never pass with it), note and launch count. Read-only. Call it first: every other tool takes a profile name exactly as listed here.
status
Morfiade version, how many profiles exist, how many the agent may use and how many are running right now. Read-only and instant; use it to check the manager is reachable before anything else.
start_profile
Launch a profile: opens its real Chrome window with its own cookies, sessions and proxy. If the profile is already running, only opens the URL in a new tab of that window. Can take up to a minute and needs a valid Morfiade licence. The answer warns when the last proxy check failed or the profile runs in debug-port mode. Call page_info afterwards to see whether the page actually opened.
| Parameter | Type | Description |
|---|---|---|
profile * | string | Profile name exactly as list_profiles returns it |
url | string | Address to open, with scheme (https://...); optional |
stop_profile
Close a running profile's Chrome window. Nothing is deleted: cookies, sessions and history stay in the profile, and the next start_profile picks them up. Text typed into pages but not submitted is lost. Calling it on a stopped profile is harmless and reports already_stopped.
| Parameter | Type | Description |
|---|---|---|
profile * | string | Profile name exactly as list_profiles returns it |
set_proxy
Save a proxy in a profile's settings, replacing the current one; an empty string removes it. Takes effect on the next launch: a running profile keeps its old proxy until stop_profile and start_profile. Run check_proxy afterwards to see whether it works.
| Parameter | Type | Description |
|---|---|---|
profile * | string | Profile name exactly as list_profiles returns it |
proxy * | string | Proxy as host:port, host:port:login:password, or scheme://login:password@host:port where scheme is http, socks4 or socks5; empty string removes the proxy |
type | string | Proxy protocol; defaults to http. Ignored when the proxy string already starts with a scheme |
check_proxy
Test one profile's proxy by making a request through it: whether it answers, the exit IP and country, and latency. Changes nothing; takes up to about ten seconds. For several profiles use check_proxies instead.
| Parameter | Type | Description |
|---|---|---|
profile * | string | Profile name exactly as list_profiles returns it |
create_profile
Create a new, empty Chrome profile on disk and allow it for the agent. It is not launched: call start_profile for that. Fails if the name is already taken; use list_profiles to see existing names. Proxy, note and category can be set at once or later with set_proxy and profile_note.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the new profile; must not match an existing one |
category | string | Category to file the profile under; created if missing; optional |
note | string | Free-text note shown in the profile table; optional |
proxy | string | Proxy as host:port, host:port:login:password, or scheme://login:password@host:port where scheme is http, socks4 or socks5; optional |
proxy_type | string | Proxy protocol; defaults to http. Ignored when the proxy string already starts with a scheme |
profile_tags
Read a profile's tags, or replace them all. Without tags it only reads. With tags the list you pass becomes the whole set: tags you leave out are removed, and an empty list clears them. To add one tag, read first and pass the old list plus the new tag.
| Parameter | Type | Description |
|---|---|---|
profile * | string | Profile name exactly as list_profiles returns it |
tags | array | New full list of tags, replacing the old one; omit to only read; an empty list clears all tags |
profile_note
Read or write a profile's note. Without title and note it only reads. title is the short line shown in the profile table, note the full text; a field you pass overwrites the old value, a field you omit stays as it was.
| Parameter | Type | Description |
|---|---|---|
profile * | string | Profile name exactly as list_profiles returns it |
note | string | Full note text; omit to keep |
title | string | Short title shown in the profile table; omit to keep |
check_proxies
Test the proxies of several profiles, or of every profile available to the agent when no list is given. Checks run one after another, up to about ten seconds each, so a long list takes minutes. Changes nothing. Profiles without a proxy are reported as such.
| Parameter | Type | Description |
|---|---|---|
profiles | array | Profile names to check; omit to check every profile available to the agent |
sync_windows
Which open profile windows can take part in distributing values, and which value each already holds. Windows that cannot (for example, antidetect off) are listed with the reason. Read-only; call it before sync_spread and sync_insert.
sync_sets
Value sets for distributing across windows: lists of emails, logins or any line-based data, one line per window. Without arguments lists the sets with their line count and how many lines are still free; the values themselves are never shown. With name and lines creates a new set.
| Parameter | Type | Description |
|---|---|---|
lines | array | Values for the new set, one per window: emails, logins, any line-based data |
name | string | Name for a new set; give together with lines |
sync_spread
Pin one free line of a set to each ready window and report who got what. Types nothing; that is sync_insert. Safe to repeat: windows that already hold a line keep it, so an account is never registered with one email and confirmed with another.
| Parameter | Type | Description |
|---|---|---|
set * | string | Set name as sync_sets lists it |
profiles | array | Profiles whose windows get a line; defaults to every ready window |
sync_insert
Type each window's own pinned value into the input field that has the cursor in the leading window; the same field receives it in every window. A person must click into that field first. The text is inserted into the page as typed input and cannot be undone by the tool. Windows without a pinned line get the next free one now; call sync_spread first to review who gets what.
| Parameter | Type | Description |
|---|---|---|
set * | string | Set name as sync_sets lists it |
leader | string | Profile whose window shows where to type: the field focused there receives the values in every window; defaults to the first ready window |
list_scripts
Scripts in Morfiade's scripts folder: file name, the program that runs it, and whether that program is installed. File contents are never shown. Read-only.
trash_profile
Move a profile to Morfiade's recycle bin. Nothing is erased: the profile keeps its cookies and sessions and comes back with restore_profile. A running profile is closed first. Emptying the bin is not available to the agent.
| Parameter | Type | Description |
|---|---|---|
profile * | string | Profile name exactly as list_profiles returns it |
list_trash
Profiles in the recycle bin: name, when it was deleted and how much disk it takes. Read-only; use the names with restore_profile.
restore_profile
Bring a profile back from the recycle bin with its cookies and sessions. If the name has been taken meanwhile, it returns as "name (2)" and nothing is overwritten; the answer says which name it got.
| Parameter | Type | Description |
|---|---|---|
profile * | string | Profile name exactly as list_profiles returns it |
page_info
What the active tab of a running profile shows right now: title, address, whether loading has finished, and whether it is a Cloudflare check page. Use it after start_profile to see whether the site actually opened. Reads nothing else from the page and changes nothing.
| Parameter | Type | Description |
|---|---|---|
profile * | string | Profile name exactly as list_profiles returns it |