Loadster

v2.2.1
com.loadster/loadster-mcp Checked 2 days ago Published 20 days ago

Load testing and synthetic monitoring platform: test with Playwright, Browser Bot, or Protocol Bots.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_screenshot Get Screenshot

Fetch a screenshot captured during a play as a viewable image. Use the screenshotKey from a step in get_play_status.

ParameterTypeDescription
projectId *string
screenshotKey *stringThe screenshotKey reported by a step in get_play_status.
scriptRunId *string

get_command_schema Get Command Schema

Get the recursive schema for one command type, so you can build a valid command object. Some fields carry a 'notes' string describing accepted keys that aren't reflectable, such as element action options and locator attributes.

ParameterTypeDescription
commandType *stringThe command type, e.g. 'http', 'navigate', or 'element'.

get_example Get Example Script

Get a small, valid worked example script for a bot type to use as a starting point.

ParameterTypeDescription
botType *stringThe bot type. HTTP is a Protocol Bot script, BROWSER is a Browser Bot script, and PLAYWRIGHT is a Playwright script. "Browser script" is ambiguous: Browser Bot and Playwright are different types, so i…

get_scripting_api Get Scripting API

List the scripting API scopes (bot, http, browser, ...) available in code blocks, or fetch one scope's members with their signatures and docs.

ParameterTypeDescription
scopestringThe scope name, e.g. 'bot' or 'http'. Omit to list the available scopes.

get_variable_schema Get Variable Schema

Get the schema for binding a script variable to a dataset, including the accepted update and selection strategies. A variable is a named row cursor bound to one whole dataset by dataSetId: on each pull it holds an entire row, advancing per occurrence, per iteration, or per bot ('vuser') depending on updateStrategy, with rows taken sequentially or randomly per selectionStrategy. Reference it as ${name} in command fields or bot.getVariable('name') in Playwright code. After changing bindings or references, run validate_script to cross-check them.

list_command_types List Command Types

List the command (step) types available for a bot type, with a description and the bot types each applies to. Use this before authoring commands.

ParameterTypeDescription
botTypestringThe bot type, or omit to list all types. HTTP is a Protocol Bot script, BROWSER is a Browser Bot script, and PLAYWRIGHT is a Playwright script. "Browser script" is ambiguous: Browser Bot and Playwrigh…

validate_script Validate Script

Structurally validate a list of commands for a bot type before saving or playing, reporting any issues by command index. Pass the script's variables as well and it also cross-checks the bindings against the ${...} and bot.getVariable reads in the commands, warning about a read nothing supplies, a binding nothing reads, and a per-occurrence variable read more than once in an iteration. Warnings never make a script invalid and never stop a save — all three are legal scripts.

ParameterTypeDescription
botType *stringThe bot type the commands are for. HTTP is a Protocol Bot script, BROWSER is a Browser Bot script, and PLAYWRIGHT is a Playwright script. "Browser script" is ambiguous: Browser Bot and Playwright are…
commands *arrayThe commands to validate, each a JSON object with a 'type'.
variablesarrayThe script's variable bindings, as get_script returns them. Omit to skip the binding cross-check and validate structure alone.

append_dataset_rows Append Dataset Rows

Add rows to the end of an existing dataset, sending only the new rows — the rows already in the table stay as they are, so there is no need to read them first. Every row must have as many columns as the table already has; a row that doesn't is rejected and nothing at all is written. Appending to an empty dataset takes the column count from the first row.

ParameterTypeDescription
datasetId *string
projectId *string
rows *arrayThe rows to add to the end of the table (data rows only — no header row). Each row must have the same number of columns as the dataset.

create_dataset Create Dataset

Create a new dataset in a project. Loadster treats every row as data and addresses columns by zero-based index — a header row would be fed to bots like any other row, so don't add one when authoring values. Unless the user explicitly asked for a dataset, confirm with them before creating one.

ParameterTypeDescription
dataset *objectThe dataset name and table of values (data rows only — no header row).
projectId *string
tagsarrayTag names; a name the team doesn't have yet becomes a new tag. Omit for no tags.

delete_dataset Delete Dataset

Delete a dataset from a project.

ParameterTypeDescription
datasetId *string
projectId *string

get_dataset Get Dataset

Get a single dataset's shape — name, row and column counts, tag names, dashboard link — plus a leading window of its rows: the first five in table order by default, more with offset and limit. Compare rowOffset and the rows returned against rowCount to see how much you are not looking at. Loadster serves every row to bots, but a user's imported data may still start with a header-looking row — don't assume either way; ask before treating or removing it.

ParameterTypeDescription
datasetId *string
projectId *string
limitintegerHow many rows to return (default 5, maximum 100). Page through a larger table by raising offset.
offsetintegerZero-based index of the first row to return (default 0).

list_datasets List Datasets

List the datasets in a project with their id, name, row/column counts, and tag names (without the full value table). Tags are shared across the team: to tag an item, reuse a name the list tools already report, and create a new tag only when the user asks for one.

ParameterTypeDescription
projectId *string

update_dataset Update Dataset

Update an existing dataset. Each of name, values, and tags is optional: a field left out keeps its stored value, so a rename leaves the table alone. Values sent become the entire table, so send the complete table including every row you want to keep; an empty table clears the rows. To add rows, call append_dataset_rows instead.

ParameterTypeDescription
datasetId *string
projectId *string
datasetobjectThe fields to change: name and the table of values (data rows only — no header row). Leave a field out to keep it, or omit dataset to change only the tags.
tagsarrayTag names; a name the team doesn't have yet becomes a new tag. Omit to keep the current tags; send [] to clear them.

list_engines List Engines

List everywhere a population can run, with the customer's own limits a scenario is written against. Each entry's id is what a population's engineId names — never invent one. Type CLOUD is a single Loadster cloud region, WILDCARD is a pattern ('north-america-*', '*') that lets Loadster pick a region inside it when the test launches, and PRIVATE is one of the customer's own Loadster Engines, the only kind that can reach a host on their network. The per-population caps and stage bounds are enforced when a scenario is saved; capacities, locked regions, and the per-region and per-engine caps matt…

submit_feedback Submit Feedback

Optional. Sends a note about this tool surface to the Loadster team, who read it to fix what the surface got wrong. Nothing requires it and no task depends on it. A note is about the tools themselves: what worked, what was missing or confusing, what needed a workaround. It should not carry conversation data: the user's prompts, their credentials, or anything from their account. Feedback is at most 2000 characters; a longer submission is rejected rather than truncated.

ParameterTypeDescription
feedback *stringWhat worked and what did not about the tools, in at most 2000 characters.
outcome *stringHow the task ended.
taskDescriptionstringThe kind of task the note is about, in your own summary rather than the user's wording, in at most 200 characters.

get_documentation Get Documentation

List the Loadster manual's topics with their keys and URLs, or read up to 3 topics' text by key. Pass one key as topic, or up to 3 keys as topics. Omit both to list every topic.

ParameterTypeDescription
maxLengthintegerCharacters to return per topic. Defaults to 25000.
startIndexintegerCharacter offset to resume one topic from, taken from a previous call's nextStartIndex.
topicstringA single topic key, e.g. 'monitoring' or the nested 'playwright-scripts/bot'. Same as passing that one key in topics. Omit, and omit topics, to list every topic.
topicsarrayUp to 3 topic keys, e.g. 'dynamic-datasets' or the nested 'playwright-scripts/bot'. Omit, and omit topic, to list every topic.

create_monitor Create Monitor

Create a Monitor in a project, initially disabled. An enabled Monitor runs on its schedule, unattended. Its Cycles burn Fuel unless the account has a plan that includes monitoring, which covers them up to its limits. Enable it with enable_monitor at the "Launch" access level; below that level a call is refused, and the user enables it in the Dashboard at the link the returned summary carries. Read the 'monitoring' topic before choosing a frequency or thresholds.

ParameterTypeDescription
engineIds *arrayThe ids of the monitoring locations the Cycles run from, as list_monitoring_locations reports them; at least one is required. Monitoring locations are their own set, not the load test regions list_eng…
frequency *integerHow often a Cycle runs, in milliseconds: 60000 (one minute) to 86400000 (one day).
name *stringThe monitor name.
projectId *string
scriptId *stringThe id of the Script in this project the Monitor plays each Cycle.
failureThresholdintegerConsecutive failed Cycles before an Incident opens (1 to 128; default 1).
recoveryThresholdintegerConsecutive passing Cycles before an open Incident closes (1 to 128; default 1).
tagsarrayTag names; a name the team doesn't have yet becomes a new tag. Omit for no tags.
thresholdsobjectThe acceptable-metric limits a Cycle is judged against, each optional within the object: responseTimeAverageMin/Max, responseTimeTotalMin/Max, cycleDurationMin/Max, timeToFirstByteMax, firstContentful…

delete_monitor Delete Monitor

Delete a Monitor from a project. Its Incidents are deleted with it and it is removed from any status pages; the Script it played is left alone. To stop a Monitor running without losing it, use disable_monitor instead, which needs the "Launch" access level; below that level the user disables the Monitor in the Dashboard. Never delete a Monitor just to stop it.

ParameterTypeDescription
monitorId *string
projectId *string

disable_monitor Disable Monitor

Disable a Monitor, stopping its scheduled Cycles and the Fuel or plan usage they bring; disabling closes the Monitor's open Incidents. Idempotent. Disabling, and enabling again with enable_monitor, both need the "Launch" access level; below that level a call is refused, and the user disables or re-enables the Monitor in the Dashboard at the link get_monitor returns.

ParameterTypeDescription
monitorId *string
projectId *string

enable_monitor Enable Monitor

Enable a disabled Monitor so its Cycles run on its schedule. Enabling starts a Cycle at once, and the result's startedCycleId names it; startedCycleId is absent when no Cycle started, because the Monitor was already enabled, recent Cycles reached the limit on immediate Cycles, or the start failed. An enabled Monitor runs Cycles unattended until disable_monitor stops it. Its Cycles burn Fuel unless the account has a plan that includes monitoring, which covers them up to its limits; get_documentation topic 'faqs/plan-or-fuel' explains how. Enable only after the user confirms in this conversation…

ParameterTypeDescription
monitorId *string
projectId *string

get_incident Get Incident

Get a single Incident: when it opened and closed, every notification that went out with its delivery outcome, the status events recorded on it, and the ids of the Cycles that opened and closed it. To reconstruct what happened, read those Cycles with get_monitor_cycle_detail, and cross-read the Monitor's configuration and its Script so the diagnosis names the concrete step, URL, or threshold at fault rather than a vague symptom. The 'monitoring' topic covers advising on thresholds or noise.

ParameterTypeDescription
incidentId *stringThe incident id, as reported by list_incidents.
projectId *string

get_monitor Get Monitor

Get a single Monitor's full configuration and dashboard link. Configuration only — a Monitor's steps are its Script's commands, so read them with get_script. To start a disabled Monitor, call enable_monitor at the "Launch" access level; below that level a call is refused, and the user enables it in the Dashboard at the link. The 'monitoring' topic covers what a Monitor's configuration should be.

ParameterTypeDescription
monitorId *string
projectId *string

get_monitor_cycle_detail Get Monitor Cycle Detail

Get one Cycle in full: status, failure message, the engine it ran from, timestamps, and every metric the Monitor's thresholds judge. Its scriptRunId is a played run like any other — pass it with the project id to get_play_status for per-step results and get_step_detail for the exact request and response that failed — and it names the scriptId it checked, so cross-read the Script and point advice at a concrete step or URL. Works with a cycle id from list_monitor_cycles or from an Incident's cycle references. The 'monitoring' topic covers what the thresholds should be.

ParameterTypeDescription
cycleId *stringThe cycle id, as reported by list_monitor_cycles or an Incident's cycle references.
projectId *string

get_monitoring_summary Get Monitoring Summary

Get the Monitoring Summary for a project: the aggregate health picture across its Monitors over a period, defaulting to the last 7 days, with per-Monitor and per-day aggregates for trends (times in seconds; performance score 0-100). Drill down instead of asking for more: list_incidents for what opened and closed in the period, list_monitor_cycles for one Monitor's individual Cycles. Read the 'monitoring' topic before interpreting uptime or health for the user.

ParameterTypeDescription
projectId *string
sincestringStart of the period, ISO-8601 (2026-08-19 or 2026-08-19T00:00:00Z). Defaults to seven days before until. History goes back 365 days; an earlier since is moved up to the start of that window, and the r…
untilstringEnd of the period, ISO-8601. Defaults to now.

list_incidents List Incidents

List a project's Incidents — open ones first, then the most recently closed; unresolved only by default, with includeResolved for incident archaeology over a since/until window and monitorId to ask about one Monitor. An Incident opens when a Monitor's consecutive failing Cycles reach its failure threshold, and closes after enough consecutive passes, or when the Monitor is disabled. Rows are lean; read one Incident's notifications, statuses, and cycle references with get_incident. The 'monitoring' topic covers how Incidents notify.

ParameterTypeDescription
projectId *string
includeResolvedbooleanInclude resolved Incidents too. Defaults to false: only open Incidents.
limitintegerHow many Incidents to return (default 10, maximum 50).
monitorIdstringOnly this Monitor's Incidents, as reported by list_monitors.
sincestringOnly Incidents still active after this ISO-8601 instant (2026-08-26T00:00:00Z) or date (2026-08-26).
untilstringOnly Incidents opened at or before this ISO-8601 instant or date.

list_monitor_cycles List Monitor Cycles

List a Monitor's Cycles, newest first — one row per Cycle with its status, timestamps, the engine id it ran from, and headline response times; a Cycle with no status yet is scheduled or still running. Window with since/until and limit to spot patterns — flapping around a threshold, slow drift, failures from one region — then drill into one Cycle's full metrics and failure message with get_monitor_cycle_detail. The 'monitoring' topic explains what each status means.

ParameterTypeDescription
monitorId *string
projectId *string
limitintegerHow many Cycles to return (default 20, maximum 100).
sincestringOnly Cycles scheduled at or after this ISO-8601 instant (2026-08-26T00:00:00Z) or date (2026-08-26). History goes back 365 days; an earlier since is moved up to the start of that window.
untilstringOnly Cycles scheduled before this ISO-8601 instant or date (exclusive). An until older than 365 days returns no Cycles.

list_monitoring_locations List Monitoring Locations

List everywhere a Monitor's Cycles can run from. Each entry's id is what a Monitor's engineIds names — never invent one. Type CLOUD is one of Loadster's shared monitoring locations, and PRIVATE is one of the customer's own Loadster Engines, the only kind that can reach a host on their network. Monitoring locations are their own set, not the load test regions list_engines offers. Read this before create_monitor or update_monitor.

list_monitors List Monitors

List the Monitors in a project. A Monitor is a scheduled, low-volume check that runs a Script on a frequency to verify health and alert on failure; each execution is a Cycle. Each row is a summary without the thresholds and engine ids; read one Monitor's full configuration with get_monitor. Read get_documentation topic 'monitoring' for how Monitors, Cycles, and Incidents behave. Tags are shared across the team: to tag an item, reuse a name the list tools already report, and create a new tag only when the user asks for one.

ParameterTypeDescription
projectId *string

update_monitor Update Monitor

Update an existing Monitor's exposed configuration: name, Script, frequency, engine ids, failure and recovery thresholds, tags, and the acceptable-metric thresholds. Each is optional: a field left out keeps its stored value, and a list sent replaces the whole list, never merging into it. The thresholds object works the same way: left out, the limits stay as they are; sent, it replaces all of them, so a limit left out of it is cleared and an empty object clears every limit. Read the current configuration with get_monitor before changing the thresholds. Everything outside those fields is untouch…

ParameterTypeDescription
monitorId *string
projectId *string
engineIdsarrayThe ids of the monitoring locations the Cycles run from, as list_monitoring_locations reports them; at least one is required. Monitoring locations are their own set, not the load test regions list_eng…
failureThresholdintegerConsecutive failed Cycles before an Incident opens (1 to 128; default 1).
frequencyintegerHow often a Cycle runs, in milliseconds: 60000 (one minute) to 86400000 (one day).
namestringThe new monitor name.
recoveryThresholdintegerConsecutive passing Cycles before an open Incident closes (1 to 128; default 1).
scriptIdstringThe id of the Script in this project the Monitor plays each Cycle.
tagsarrayTag names; a name the team doesn't have yet becomes a new tag. Omit to keep the current tags; send [] to clear them.
thresholdsobjectThe acceptable-metric limits a Cycle is judged against, each optional within the object: responseTimeAverageMin/Max, responseTimeTotalMin/Max, cycleDurationMin/Max, timeToFirstByteMax, firstContentful…

get_load_test_report Get Load Test Report

Get a finished Load Test's Test Report — aggregate totals, the error and advice picture behind the Dashboard's advice tile, per-Population outcomes, and each engine's average and peak CPU; an unfinished test answers with an error naming its status. The advice buckets and detection flags are heuristics, not a diagnosis of this test: where the totals, percentiles, per-URL counts and Populations contradict a bucket or a flag, or show something it never names, say so and follow the data. Before advising the user, read the get_documentation topic 'analyzing-test-results' and cross-read the Scenar…

ParameterTypeDescription
projectId *string
errorUrlLimitintegerHow many URLs to return in errorsByUrl, worst first (default 10, no maximum). There is no offset, so read the tail by raising this.
loadTestIdstringThe load test id, as reported by list_load_tests. Required unless the deprecated testId is sent.
testIdstringDeprecated alias of loadTestId; send loadTestId instead.

get_load_test_status Get Load Test Status

Get a Load Test's live status, as the Dashboard's live test view shows it: stage, elapsed time, Bots started, running, peak and planned per Population, Iterations, response time percentiles, throughput, errors by type, and each engine's region, online state and, while the test runs, current CPU percentage. Use it to tell the user how a test in progress is going, and to tell an overloaded engine from a slow target. Call it no more often than every 10 seconds; the numbers do not move faster than that. Once the test is over, the status says so in its note; stop polling and read the Test Report wi…

ParameterTypeDescription
loadTestId *stringThe load test id, as reported by list_load_tests.
projectId *string

get_load_test_url_timings Get Load Test URL Timings

Get a finished Load Test's response times per URL, slowest first by the total time all hits to the URL took: hits, average, minimum and maximum response time, and average time to first byte, in milliseconds. Use it to name the slow pages behind the percentiles in get_load_test_report. Compare urlOffset and the URLs returned against totalUrls to see how much you have not read; page on with offset.

ParameterTypeDescription
loadTestId *stringThe load test id, as reported by list_load_tests.
projectId *string
limitintegerHow many URLs to return (default 20, maximum 100).
offsetintegerZero-based index of the first URL to return (default 0).

list_load_tests List Load Tests

List a project's Load Tests, a window of summary rows at a time: the ones in progress first, each with its stage, then the finished ones, newest first. A Load Test is a run of a Scenario at scale by many bots; launch_load_test launches one and stop_load_test stops one, at the "Launch" access level; below that level a call to either is refused and the user does it in the Dashboard. Nothing on this surface deletes one. Follow a test in progress with get_load_test_status; read a finished test's Test Report with get_load_test_report.

ParameterTypeDescription
projectId *string
limitintegerHow many tests to return (default 10, maximum 50).
offsetintegerZero-based index of the first test to return (default 0).

stop_load_test Stop Load Test

Stop a Load Test. By default the stop is graceful, as the Dashboard's Stop button does: each bot finishes the iteration it is on before it stops, so the last iterations complete and are reported in full. With immediate set to true the Load Test is killed instead: bots stop mid-iteration, cutting their last iterations short, and the test ends sooner. Stop gracefully unless the user asks to kill the test or the target needs relief now; a Load Test already STOPPING gracefully can still be killed with immediate. A running Load Test moves to STOPPING and then ends; one that has not started yet is c…

ParameterTypeDescription
loadTestId *stringThe load test id, as reported by list_load_tests or launch_load_test.
projectId *string
immediatebooleanTrue to kill the Load Test, stopping bots mid-iteration; false or omitted to stop it gracefully, letting each bot finish its current iteration.

update_load_test_notes Update Load Test Notes

Replace the notes on a finished Load Test's Test Report — the only thing on a Load Test this surface edits. Ask the user before writing: notes belong to the user, and advising on a test never requires writing them. The text sent becomes the report's entire notes, so first read the current notes with get_load_test_report and preserve the user's content in what you send.

ParameterTypeDescription
notes *stringThe full notes text to store on the Test Report, replacing whatever notes it already carries. At most 4096 characters; an empty string clears the notes.
projectId *string
loadTestIdstringThe load test id, as reported by list_load_tests. Required unless the deprecated testId is sent.
testIdstringDeprecated alias of loadTestId; send loadTestId instead.

create_scenario Create Scenario

Create a scenario in a project — saving costs nothing and starts nothing. Launch it with launch_load_test at the "Launch" access level; below that level a call is refused, and the user launches it from the Dashboard at the link. The save is refused for an engineId list_engines doesn't offer, a stage shorter than the minimum, or more bots or populations than the account allows, and the refusal names the limit. The summary's launchBlockers are reasons the user could not launch it right now; they never stop the save, so tell the user about a blocker instead of rewriting the scenario to avoid it…

ParameterTypeDescription
name *stringThe scenario name.
populations *arrayThe Populations, in order. Each needs a name, the scriptId of a script in this project, and stages — { target, duration, ramp } segments that run for duration milliseconds and reach target bots by t…
projectId *string
tagsarrayTag names; a name the team doesn't have yet becomes a new tag. Omit for no tags.

delete_scenario Delete Scenario

Delete a scenario from a project. The scripts its populations referenced are left alone.

ParameterTypeDescription
projectId *string
scenarioId *string

get_scenario Get Scenario

Get a single scenario including its Populations, plus a dashboard link and its launch readiness: the account's fuelBalance; launchBlockers, where an empty list means it can launch as it stands; and estimatedFuelLow and estimatedFuelHigh, the low and high ends of the Fuel estimate the Dashboard shows. The estimate is present whenever the test would burn Fuel, which is every test on an account without a plan, and on one with a plan, any test the plan does not cover; launch_load_test then runs the whole test on Fuel. Without an estimate, it runs on the account's plan and burns no Fuel. get_docume…

ParameterTypeDescription
projectId *string
scenarioId *string

launch_load_test Launch Load Test

Launch a saved Scenario as a Load Test, exactly as stored. Its Populations send real traffic to the user's site. Like the Dashboard's Launch button, it runs on the account's plan when get_scenario shows no Fuel estimate and runs the whole test on Fuel when it shows one. Read the Scenario with get_scenario first, tell the user the Fuel estimate range and the fuelBalance, or that the plan covers it when there is no estimate, and launch only with the user's approval. If the plan can't run the test right now, the refusal gives the reason and burns no Fuel, and the user can try to launch from the D…

ParameterTypeDescription
projectId *string
scenarioId *string
labelstringA label stored with the Load Test. Leave it out for none.

list_scenarios List Scenarios

List the scenarios in a project with their id, name, version, population count, peak bots, total duration in milliseconds, and tag names — without the populations, fuel estimate, and launch blockers get_scenario reports. A Scenario is a saved load test configuration: a named list of Populations (the Dashboard calls them "bot groups"), each of which runs one script with its own load shape on one engine or region. Saving a scenario costs nothing and runs nothing. Launch it with launch_load_test at the "Launch" access level; below that level a call is refused, and the user launches it from the…

ParameterTypeDescription
projectId *string

update_scenario Update Scenario

Update an existing scenario. Each of name, populations, and tags is optional: a field left out keeps its stored value. Populations sent replace the whole list, never merging into it, so to change one, send the others alongside it, each with the id get_scenario reported, or they are dropped and the ones you send are new populations. The same save rules and summary as create_scenario apply.

ParameterTypeDescription
projectId *string
scenarioId *string
namestringThe new scenario name. Leave it out to keep the current name.
populationsarrayThe Populations, in order. Each needs a name, the scriptId of a script in this project, and stages — { target, duration, ramp } segments that run for duration milliseconds and reach target bots by t…
tagsarrayTag names; a name the team doesn't have yet becomes a new tag. Omit to keep the current tags; send [] to clear them.

create_project Create Project

Create a project for the connected team and return its id, name, and dashboard link. Prefer an existing project: call list_projects first, and create a new one only if the team has none or the user explicitly asked for one. When unsure, ask the user before creating.

ParameterTypeDescription
name *stringThe name of the new project.

create_script Create Script

Create a new script in a project. Read the relevant get_documentation topics and use the schema tools first to build valid commands for the bot type. HTTP is a Protocol Bot script, BROWSER is a Browser Bot script, and PLAYWRIGHT is a Playwright script. "Browser script" is ambiguous: Browser Bot and Playwright are different types, so if the user's wording doesn't say which, ask before creating. Don't create multiple scripts of the same type for one task. Edit and reuse a script you created earlier in the session (same type, created by you, not used in a scenario or monitor elsewhere) instead of…

ParameterTypeDescription
projectId *string
script *objectThe script name, type (HTTP, BROWSER, or PLAYWRIGHT), commands, and variables. HTTP is a Protocol Bot script, BROWSER is a Browser Bot script, and PLAYWRIGHT is a Playwright script. "Browser script" i…
tagsarrayTag names; a name the team doesn't have yet becomes a new tag. Omit for no tags.

delete_script Delete Script

Delete a script from a project.

ParameterTypeDescription
projectId *string
scriptId *string

delete_script_asset Delete Script Asset

Delete a file attached to a script.

ParameterTypeDescription
path *stringThe asset path.
projectId *string
scriptId *string

duplicate_script Duplicate Script

Duplicate a script, optionally with a new name and into another project the token can access. Returns the copy's summary.

ParameterTypeDescription
projectId *stringThe project id of the source script.
scriptId *stringThe id of the script to duplicate.
destinationProjectIdstringOptional destination project id; defaults to the source project.
namestringOptional name for the copy; a name is generated when omitted.

get_play_status Get Play Status

Get the current state of a play, with per-step results and log that fill in as it progresses, optionally waiting for it to finish. After play_script, call this with waitSeconds instead of sleeping between polls; the results are complete once running is false. Each step's has-flags (hasBody, hasLog, and their siblings) say which get_step_detail parts would return something for that step, so drill down only where a flag is true. On a Playwright run the whole runner log belongs to the command step that ran the spec file — hasLog points there. A step's screenshotKeys are in capture order; a Play…

ParameterTypeDescription
projectId *string
scriptRunId *stringThe script run id returned by play_script.
waitSecondsintegerOptional: wait up to this many seconds (capped at 30) and return the moment the play reaches a terminal state. On expiry it returns the current status rather than an error, so just call again for a lo…

get_script Get Script

Get a single script including its full command list and variables, plus a dashboard link. The variables are the script's dataset bindings — the ${...} references in its commands resolve through them.

ParameterTypeDescription
projectId *string
scriptId *string

get_script_asset Get Script Asset

Read a script asset's content as base64.

ParameterTypeDescription
path *stringThe asset path.
projectId *string
scriptId *string

get_script_revision Get Script Revision

Get a specific past revision of a script, including its commands, so you can inspect or diff it.

ParameterTypeDescription
projectId *string
scriptId *string
version *integerThe revision version number.

get_step_detail Get Step Detail

Read the payloads get_play_status leaves out — response bodies, headers, captured values, console messages, network activity, page HTML, logs — for one or more steps of a play, choosing the parts per call. Ask for several steps at once: a failing request and the earlier step that captured the token it used is one call. Use this instead of adding a validator or code block to the script just to echo a response back to yourself. Parts are bot-type-shaped, and asking for a part a run has no source for returns an error naming what it does have.

ParameterTypeDescription
parts *arrayThe parts to return: body, headers, captured, console, network, network_full, html, or log. Required, so a drill-down never returns more than you asked for. 'network' ranks the resources (failures, no…
projectId *string
scriptRunId *stringThe script run id returned by play_script.
stepIndexes *arrayThe step indexes to drill into, starting at 1, as reported by get_play_status.
selectorstringOptional CSS selector, for the 'html' part only. Without it, html returns an outline of the page's anchorable elements with a suggested selector for each — ask for that first when you don't know wha…

import_script Import Script

Import an open-source load test (JMeter .jmx, k6 .js, or Locust .py) into an existing script, converting it to Loadster commands. An import may create script assets, datasets, and a scenario; replace=true also replaces the script's existing commands and variables. Returns action items to review. For OpenAPI/Swagger or Postman, read the spec yourself and build commands with create_script instead.

ParameterTypeDescription
content *stringThe source file content (the .jmx XML, .js, or .py text).
projectId *string
scriptId *stringThe script id to import into (create an empty script first).
source *stringThe source tool: jmeter, k6, or locust.
baseUrlstringOptional base URL to prefix relative requests.
replacebooleanReplace existing commands (true) or append to them (false). Defaults to false.

list_projects List Projects

List the Loadster projects the current token can access, each with its id and name. Every other tool takes one of these ids. When the team has no projects, the result says so and points at create_project. Prefer an existing project: call list_projects first, and create a new one only if the team has none or the user explicitly asked for one. When unsure, ask the user before creating.

list_script_assets List Script Assets

List the files attached to a script (request bodies, upload files, Playwright support files). Each path is the key a command references.

ParameterTypeDescription
projectId *string
scriptId *string

list_script_revisions List Script Revisions

List a script's past revisions (newest first) with version, save time, author, and step count.

ParameterTypeDescription
projectId *string
scriptId *string
countintegerHow many revisions to return (default 10, maximum 100).

list_scripts List Scripts

List the scripts in a project with their id, name, bot type, step count, current revision version, and tag names (without the full command list). Tags are shared across the team: to tag an item, reuse a name the list tools already report, and create a new tag only when the user asks for one.

ParameterTypeDescription
projectId *string

play_script Play Script

Start playing a saved script. Returns immediately with a run id and a queued status, since a play can take anywhere from a few seconds (HTTP) to several minutes (browser or Playwright); read the results with get_play_status.

ParameterTypeDescription
projectId *string
scriptId *stringThe script id to play.
skipWaitTimesbooleanSkip wait/think times for a faster run. Defaults to false.

put_script_asset Put Script Asset

Upload or replace a script asset from base64 content. Use the path as the key a command references — e.g. set an HTTP command's requestBody to { "key": "<path>" } to give it a request body, or list the path in a browser upload step's files.

ParameterTypeDescription
contentBase64 *stringThe file content, base64-encoded.
path *stringThe asset path / key to store it under, e.g. 'body.json'.
projectId *string
scriptId *string

restore_script_revision Restore Script Revision

Restore a script to a past revision, saving that revision's commands as a new revision.

ParameterTypeDescription
projectId *string
scriptId *string
version *integerThe revision version number to restore.

stop_script Stop Script

Stop a running play. Errors if the run does not exist; once the stop takes effect, get_play_status reports the run as stopped.

ParameterTypeDescription
projectId *string
scriptRunId *stringThe script run id to stop.

update_project Update Project

Rename a project and return its id, name, and dashboard link. The project's scripts, scenarios and other contents stay as they are. A name that another project of the team already has is refused. Every write against a user's existing data needs their explicit confirmation first.

ParameterTypeDescription
name *stringThe new name of the project.
projectId *string

update_script Update Script

Update an existing script. Each of name, type, commands, variables, and tags is optional: a field left out keeps its stored value, an empty list clears that list, and a non-empty list replaces the whole list, never merging into it. A script's type cannot be changed: type, if sent, must match the script's bot type, so to switch types create a new script of the desired type instead. Sending commands or variables saves a new revision; a name or tags alone save no revision. Read the script with get_script before changing it, never rebuild it from list_scripts. Every write against a user's existing…

ParameterTypeDescription
projectId *string
scriptId *string
scriptobjectThe fields to change: name, type, commands, and variables. Leave a field out to keep it, or omit script to change only the tags. type, if sent, must be the script's current type; a different type is r…
tagsarrayTag names; a name the team doesn't have yet becomes a new tag. Omit to keep the current tags; send [] to clear them.