Skip to content

Atomic

Low-level primitives: file I/O, git, HTTP, shell, SSH, process management, and testing.

44 modules

ModuleDescription
सरणी फ़िल्टरशर्त के अनुसार सरणी तत्वों को फ़िल्टर करें
सरणी सॉर्टसरणी तत्वों को आरोही या अवरोही क्रम में सॉर्ट करें
सरणी अद्वितीयसरणी से डुप्लिकेट मान हटाएं
OAuth2 Token ExchangeExchange authorization code, refresh token, or client credentials for an access token
DNS लुकअपडोमेन रिकॉर्ड्स के लिए DNS लुकअप
टेक्स्ट अंतरदो टेक्स्ट स्ट्रिंग्स के बीच अंतर उत्पन्न करें
फ़ाइल संपादित करेंसटीक स्ट्रिंग मिलान का उपयोग करके फ़ाइल में टेक्स्ट बदलें
फ़ाइल मौजूदगी जांचेंजांचें कि फ़ाइल या डायरेक्टरी मौजूद है
फ़ाइल पढ़ेंफ़ाइल से सामग्री पढ़ें
फ़ाइल लिखेंफ़ाइल में सामग्री लिखें
Git क्लोनGit रिपॉजिटरी क्लोन करें
Git कमिटGit कमिट बनाएं
Git डिफGit डिफ प्राप्त करें
HTTP PaginateAutomatically iterate through paginated API endpoints and collect all results
HTTP अनुरोधHTTP अनुरोध भेजें और प्रतिक्रिया प्राप्त करें
HTTP प्रतिक्रिया का दावा करेंHTTP प्रतिक्रिया गुणों का दावा और सत्यापन करें
HTTP SessionSend a sequence of HTTP requests with persistent cookies (login → action → logout)
Webhook WaitStart a temporary server and wait for an incoming webhook callback
LLM चैटबुद्धिमान ऑपरेशंस के लिए LLM APIs के साथ इंटरैक्ट करें
AI कोड फ़िक्सइश्यू के आधार पर स्वचालित रूप से कोड फ़िक्स जनरेट करें
गणना करेंबुनियादी गणितीय ऑपरेशंस करें
HTTP स्वास्थ्य जांचHTTP स्वास्थ्य जांच / अपटाइम मॉनिटर
पोर्ट जांचेंजांचें कि नेटवर्क पोर्ट खुले हैं या बंद
पोर्ट की प्रतीक्षा करेंनेटवर्क पोर्ट उपलब्ध होने की प्रतीक्षा करें
प्रक्रियाएं सूचीबद्ध करेंसभी चल रही बैकग्राउंड प्रक्रियाएं सूचीबद्ध करें
बैकग्राउंड प्रक्रिया शुरू करेंबैकग्राउंड प्रक्रिया शुरू करें (सर्वर, सेवा, आदि)
प्रक्रिया रोकेंचल रही बैकग्राउंड प्रक्रिया रोकें
शेल कमांड निष्पादित करेंशेल कमांड निष्पादित करें और आउटपुट कैप्चर करें
SSH निष्पादनSSH के माध्यम से दूरस्थ सर्वर पर कमांड निष्पादित करें
SFTP डाउनलोडSFTP के माध्यम से दूरस्थ सर्वर से फ़ाइल डाउनलोड करें
SFTP अपलोडSFTP के माध्यम से दूरस्थ सर्वर पर फ़ाइल अपलोड करें
E2E चरण चलाएंएंड-टू-एंड टेस्ट चरणों को क्रमिक रूप से निष्पादित करें
क्वालिटी गेटपरिभाषित थ्रेशोल्ड के विरुद्ध गुणवत्ता मेट्रिक्स का मूल्यांकन करें
HTTP टेस्ट चलाएंHTTP API टेस्ट सूट निष्पादित करें
लिंटर चलाएंस्रोत कोड पर लिंटिंग जांच चलाएं
रिपोर्ट जनरेट करेंटेस्ट निष्पादन रिपोर्ट जनरेट करें
परिदृश्य चलाएंपरिदृश्य-आधारित टेस्ट निष्पादित करें (BDD शैली)
सुरक्षा स्कैनसुरक्षा कमजोरियों के लिए स्कैन करें
टेस्ट सूट चलाएंटेस्ट का संग्रह निष्पादित करें
यूनिट टेस्ट चलाएंयूनिट टेस्ट निष्पादित करें
विजुअल तुलनाअंतर के लिए विजुअल आउटपुट तुलना करें
UI गुणवत्ता मूल्यांकन करेंबहु-आयामी स्कोरिंग के साथ व्यापक UI गुणवत्ता मूल्यांकन
AI के साथ इमेज विश्लेषण करेंOpenAI Vision API (GPT-4V) का उपयोग करके इमेज का विश्लेषण करें
इमेज तुलना करेंदो इमेज की तुलना करें और दृश्य अंतर पहचानें

Modules

सरणी फ़िल्टर

array.filter

शर्त के अनुसार सरणी तत्वों को फ़िल्टर करें

Parameters:

NameTypeRequiredDefaultDescription
arrayarrayYes-Array of items to process. Can be numbers, strings, or objects.
conditionselect (eq, ne, gt, gte, lt, lte, contains, startswith, endswith, regex, in, notin, exists, empty, notempty)Yes-How to compare each item against the value
valuestringYes-Value to compare each item against (leave empty for exists/empty checks)

Output:

FieldTypeDescription
filteredarrayफ़िल्टर की गई सरणी
countnumberफ़िल्टर की गई सरणी

Example: Filter numbers greater than 5

yaml
array: [1, 5, 10, 15, 3]
condition: gt
value: 5

सरणी सॉर्ट

array.sort

सरणी तत्वों को आरोही या अवरोही क्रम में सॉर्ट करें

Parameters:

NameTypeRequiredDefaultDescription
arrayarrayYes-Array of items to process. Can be numbers, strings, or objects.
orderselect (asc, desc)NoascDirection to sort items

Output:

FieldTypeDescription
sortedarrayसॉर्ट की गई सरणी
countnumberसॉर्ट की गई सरणी

Example: Sort numbers ascending

yaml
array: [5, 2, 8, 1, 9]
order: asc

सरणी अद्वितीय

array.unique

सरणी से डुप्लिकेट मान हटाएं

Parameters:

NameTypeRequiredDefaultDescription
arrayarrayYes-Array of items to process. Can be numbers, strings, or objects.
preserve_orderbooleanNoTrueKeep first occurrence order

Output:

FieldTypeDescription
uniquearrayअद्वितीय मानों वाली सरणी
countnumberअद्वितीय मानों वाली सरणी
duplicates_removednumberअद्वितीय मानों वाली सरणी

Example: Remove duplicates

yaml
array: [1, 2, 2, 3, 4, 3, 5]
preserve_order: true

OAuth2 Token Exchange

auth.oauth2

Exchange authorization code, refresh token, or client credentials for an access token

Parameters:

NameTypeRequiredDefaultDescription
token_urlstringYes-OAuth2 token endpoint URL
grant_typestringNoauthorization_codeOAuth2 grant type
client_idstringYes-OAuth2 application client ID
client_secretstringNo-OAuth2 application client secret
codestringNo-Authorization code received from the OAuth2 authorization flow
redirect_uristringNo-Redirect URI used in the authorization request (must match exactly)
refresh_tokenstringNo-Refresh token for obtaining a new access token
scopestringNo-Space-separated list of OAuth2 scopes
code_verifierstringNo-PKCE code verifier for public clients
client_auth_methodstringNobodyHow to send client credentials to the token endpoint
extra_paramsobjectNo{}Additional parameters to include in the token request
timeoutnumberNo15Maximum time to wait in seconds

Output:

FieldTypeDescription
okbooleanWhether token exchange was successful
access_tokenstringThe access token for API requests
token_typestringToken type (usually "Bearer")
expires_innumberToken lifetime in seconds
refresh_tokenstringRefresh token (if provided by the OAuth2 server)
scopestringGranted scopes
rawobjectFull raw response from the token endpoint
duration_msnumberRequest duration in milliseconds

Example: Exchange authorization code (Google)

yaml
token_url: https://oauth2.googleapis.com/token
grant_type: authorization_code
client_id: ${env.GOOGLE_CLIENT_ID}
client_secret: ${env.GOOGLE_CLIENT_SECRET}
code: 4/0AX4XfWh...
redirect_uri: https://yourapp.com/callback

Example: Refresh an expired token

yaml
token_url: https://oauth2.googleapis.com/token
grant_type: refresh_token
client_id: ${env.GOOGLE_CLIENT_ID}
client_secret: ${env.GOOGLE_CLIENT_SECRET}
refresh_token: ${env.REFRESH_TOKEN}

Example: Client credentials (machine-to-machine)

yaml
token_url: https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token
grant_type: client_credentials
client_id: ${env.AZURE_CLIENT_ID}
client_secret: ${env.AZURE_CLIENT_SECRET}
scope: https://graph.microsoft.com/.default

Example: GitHub OAuth (code exchange)

yaml
token_url: https://github.com/login/oauth/access_token
grant_type: authorization_code
client_id: ${env.GITHUB_CLIENT_ID}
client_secret: ${env.GITHUB_CLIENT_SECRET}
code: abc123...

DNS लुकअप

dns.lookup

डोमेन रिकॉर्ड्स के लिए DNS लुकअप

Parameters:

NameTypeRequiredDefaultDescription
domainstringYes-लुकअप के लिए डोमेन नाम
record_typeselect (A, AAAA, CNAME, MX, NS, TXT, SOA, SRV)NoAप्रश्न के लिए DNS रिकॉर्ड प्रकार
timeoutnumberNo10सेकंड में प्रश्न समय सीमा

Output:

FieldTypeDescription
okbooleanWhether lookup succeeded
dataobject

Example: A record lookup

yaml
domain: example.com
record_type: A

Example: MX record lookup

yaml
domain: example.com
record_type: MX

टेक्स्ट अंतर

file.diff

दो टेक्स्ट स्ट्रिंग्स के बीच अंतर उत्पन्न करें

Parameters:

NameTypeRequiredDefaultDescription
originalstringYes-मूल टेक्स्ट
modifiedstringYes-संशोधित टेक्स्ट
context_linesnumberNo3परिवर्तनों के आसपास की संदर्भ लाइनों की संख्या
filenamestringNofileअंतर हेडर में उपयोग के लिए फ़ाइल नाम

Output:

FieldTypeDescription
diffstringएकीकृत अंतर आउटपुट
changedbooleanक्या कोई परिवर्तन है
additionsnumberजोड़ी गई लाइनों की संख्या
deletionsnumberहटाई गई लाइनों की संख्या

Example: Diff two strings

yaml
original: hello
world
modified: hello
world!
filename: test.txt

फ़ाइल संपादित करें

file.edit

सटीक स्ट्रिंग मिलान का उपयोग करके फ़ाइल में टेक्स्ट बदलें

Parameters:

NameTypeRequiredDefaultDescription
pathstringYes-संपादित करने के लिए फ़ाइल का पथ
old_stringstringYes-खोजने और बदलने के लिए टेक्स्ट
new_stringstringYes-प्रतिस्थापन टेक्स्ट
replace_allbooleanNoFalseसिर्फ पहले के बजाय सभी घटनाओं को बदलें
encodingselect (utf-8, ascii, latin-1, utf-16, gbk, big5)Noutf-8फ़ाइल एन्कोडिंग

Output:

FieldTypeDescription
pathstringसंपादित फ़ाइल का पथ
replacementsnumberकिए गए प्रतिस्थापनों की संख्या
diffstringपरिवर्तन दिखाने वाला अंतर

Example: Replace string in file

yaml
path: /tmp/example.py
old_string: def hello():
new_string: def hello_world():

फ़ाइल मौजूदगी जांचें

file.exists

जांचें कि फ़ाइल या डायरेक्टरी मौजूद है

Parameters:

NameTypeRequiredDefaultDescription
pathstringYes-Path to the file

Output:

FieldTypeDescription
existsbooleanपथ मौजूद है या नहीं
is_filebooleanपथ मौजूद है या नहीं
is_directorybooleanपथ मौजूद है या नहीं

Example: Check file exists

yaml
path: /tmp/data.txt

फ़ाइल पढ़ें

file.read

फ़ाइल से सामग्री पढ़ें

Parameters:

NameTypeRequiredDefaultDescription
pathstringYes-Path to the file
encodingselect (utf-8, ascii, latin-1, utf-16, gbk, big5)Noutf-8Character encoding for the file

Output:

FieldTypeDescription
contentstringफ़ाइल सामग्री
sizenumberफ़ाइल सामग्री

Example: Read text file

yaml
path: /tmp/data.txt
encoding: utf-8

फ़ाइल लिखें

file.write

फ़ाइल में सामग्री लिखें

Parameters:

NameTypeRequiredDefaultDescription
pathstringYes-Path to the file
contentstringYes-Text content to write to the file
encodingselect (utf-8, ascii, latin-1, utf-16, gbk, big5)Noutf-8Character encoding for the file
modeselect (overwrite, append)NooverwriteHow to write content to the file

Output:

FieldTypeDescription
pathstringफ़ाइल पथ
bytes_writtennumberफ़ाइल पथ

Example: Write text file

yaml
path: /tmp/output.txt
content: Hello World
mode: overwrite

Git क्लोन

git.clone

Git रिपॉजिटरी क्लोन करें

Parameters:

NameTypeRequiredDefaultDescription
urlstringYes-Git रिपॉजिटरी URL (HTTPS या SSH)
destinationstringYes-क्लोन करने के लिए स्थानीय पथ
branchstringNo-क्लोन के बाद चेकआउट करने के लिए ब्रांच
depthnumberNo-उथला क्लोन गहराई (पूर्ण क्लोन के लिए छोड़ें)
tokenstringNo-निजी रिपॉजिटरी के लिए व्यक्तिगत एक्सेस टोकन

Output:

FieldTypeDescription
okbooleanWhether clone succeeded
dataobject

Example: Clone public repository

yaml
url: https://github.com/user/repo.git
destination: /tmp/repo

Example: Shallow clone specific branch

yaml
url: https://github.com/user/repo.git
destination: /tmp/repo
branch: develop
depth: 1

Git कमिट

git.commit

Git कमिट बनाएं

Parameters:

NameTypeRequiredDefaultDescription
repo_pathstringYes-Git रिपॉजिटरी का पथ
messagestringYes-कमिट संदेश
add_allbooleanNoFalseकमिट करने से पहले सभी परिवर्तन स्टेज करें (git add -A)
filesarrayNo-कमिट करने से पहले स्टेज करने के लिए विशिष्ट फाइलें
author_namestringNo-कमिट लेखक का नाम ओवरराइड करें
author_emailstringNo-कमिट लेखक का ईमेल ओवरराइड करें

Output:

FieldTypeDescription
okbooleanWhether commit succeeded
dataobject

Example: Commit all changes

yaml
repo_path: /home/user/project
message: feat: add user authentication
add_all: true

Example: Commit specific files

yaml
repo_path: /home/user/project
message: fix: correct typo in readme
files: ["README.md"]

Git डिफ

git.diff

Git डिफ प्राप्त करें

Parameters:

NameTypeRequiredDefaultDescription
repo_pathstringYes-Git रिपॉजिटरी का पथ
ref1stringNoHEADपहला संदर्भ (कमिट, ब्रांच, टैग)
ref2stringNo-तुलना के लिए दूसरा संदर्भ
stagedbooleanNoFalseकेवल स्टेज्ड परिवर्तन दिखाएं (--cached)
stat_onlybooleanNoFalseकेवल फाइल आँकड़े दिखाएं (--stat)

Output:

FieldTypeDescription
okbooleanWhether diff succeeded
dataobject

Example: Show unstaged changes

yaml
repo_path: /home/user/project

Example: Compare branches

yaml
repo_path: /home/user/project
ref1: main
ref2: feature/login

Example: Show staged changes stats

yaml
repo_path: /home/user/project
staged: true
stat_only: true

HTTP Paginate

http.paginate

Automatically iterate through paginated API endpoints and collect all results

Parameters:

NameTypeRequiredDefaultDescription
urlstringYes-URL to navigate to
methodselect (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS)NoGETHTTP request method
headersobjectNo{}HTTP request headers as key-value pairs
authobjectNo-Authentication credentials for the HTTP request
strategystringNooffsetHow the API implements pagination
data_pathstringNo-Dot-notation path to the array of items in the response (e.g. "data", "results", "items")
offset_paramstringNooffsetQuery parameter name for offset
limit_paramstringNolimitQuery parameter name for page size
page_sizenumberNo100Number of items per page
page_paramstringNopageQuery parameter name for page number
start_pagenumberNo1First page number (usually 0 or 1)
cursor_paramstringNocursorQuery parameter name for cursor token
cursor_pathstringNo-Dot-notation path to the next cursor in the response (e.g. "meta.next_cursor", "pagination.next")
max_pagesnumberNo50Maximum number of pages to fetch (safety limit)
delay_msnumberNo0Milliseconds to wait between page requests (rate limiting)
timeoutnumberNo30Maximum time to wait in seconds
verify_sslbooleanNoTrueVerify SSL certificates

Output:

FieldTypeDescription
okbooleanWhether all pages were fetched successfully
itemsarrayAll collected items across all pages
total_itemsnumberTotal number of items collected
pages_fetchednumberNumber of pages fetched
duration_msnumberTotal duration in milliseconds

Example: Offset pagination (REST API)

yaml
url: https://api.example.com/users
strategy: offset
data_path: data
page_size: 100

Example: Page number pagination

yaml
url: https://api.example.com/products
strategy: page
data_path: results
page_param: page
page_size: 50
start_page: 1

Example: Cursor pagination (Slack, Notion)

yaml
url: https://api.notion.com/v1/databases/{db_id}/query
method: POST
strategy: cursor
data_path: results
cursor_path: next_cursor
cursor_param: start_cursor
auth: {"type": "bearer", "token": "${env.NOTION_TOKEN}"}

Example: Link header pagination (GitHub)

yaml
url: https://api.github.com/repos/octocat/hello-world/issues
strategy: link_header
page_size: 100
auth: {"type": "bearer", "token": "${env.GITHUB_TOKEN}"}

HTTP अनुरोध

http.request

HTTP अनुरोध भेजें और प्रतिक्रिया प्राप्त करें

Parameters:

NameTypeRequiredDefaultDescription
urlstringYes-URL to navigate to
methodselect (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS)NoGETHTTP request method
headersobjectNo{}HTTP request headers as key-value pairs
bodyanyNo-HTTP request body content (JSON, text, or form data)
queryobjectNo{}URL query string parameters as key-value pairs
content_typeselect (application/json, application/x-www-form-urlencoded, multipart/form-data, text/plain, text/html, application/xml)Noapplication/jsonContent type of the request body
authobjectNo-Authentication credentials for the HTTP request
timeoutnumberNo30Maximum time to wait in seconds
follow_redirectsbooleanNoTrueAutomatically follow HTTP redirects
verify_sslbooleanNoTrueVerify SSL certificates
response_typeselect (auto, json, text, binary)NoautoHow to parse the response body
retry_countnumberNo0Number of retries on failure or 429/503 status
retry_backoffstringNoexponentialBackoff strategy between retries
retry_delaynumberNo1Initial delay between retries in seconds

Output:

FieldTypeDescription
okbooleanक्या अनुरोध सफल था (2xx स्थिति)
statusnumberक्या अनुरोध सफल था (2xx स्थिति)
status_textstringक्या अनुरोध सफल था (2xx स्थिति)
headersobjectHTTP स्थिति कोड
bodyanyHTTP स्थिति टेक्स्ट
urlstringप्रतिक्रिया हेडर्स
duration_msnumberप्रतिक्रिया बॉडी (पार्स किया गया JSON या टेक्स्ट)
content_typestringअंतिम URL (रीडायरेक्ट के बाद)
content_lengthnumberप्रतिक्रिया Content-Type

Example: Simple GET request

yaml
url: https://api.example.com/users
method: GET

Example: POST with JSON body

yaml
url: https://api.example.com/users
method: POST
body: {"name": "John", "email": "john@example.com"}

Example: Request with Bearer auth

yaml
url: https://api.example.com/protected
method: GET
auth: {"type": "bearer", "token": "${env.API_TOKEN}"}

Example: Request with query params

yaml
url: https://api.example.com/search
method: GET
query: {"q": "flyto", "limit": 10}

HTTP प्रतिक्रिया का दावा करें

http.response_assert

HTTP प्रतिक्रिया गुणों का दावा और सत्यापन करें

Parameters:

NameTypeRequiredDefaultDescription
responseobjectYes-HTTP response object from http.request
statusanyNo-Expected status code (number, array of numbers, or range string "200-299")
body_containsanyNo-String or array of strings that body should contain
body_not_containsanyNo-String or array of strings that body should NOT contain
body_matchesstringYes-Regular expression pattern
json_pathobjectNo-Object mapping JSON paths to expected values (e.g., {"data.id": 123})
json_path_existsarrayNo-Array of JSON paths that should exist
header_containsobjectNo-Object mapping header names to expected values
content_typeselect (application/json, application/x-www-form-urlencoded, multipart/form-data, text/plain, text/html, application/xml)No-Content type of the request body
max_duration_msnumberNo-Maximum allowed response time in milliseconds
schemaobjectNo-JSON Schema to validate response body against
fail_fastbooleanNoFalseStop on first assertion failure

Output:

FieldTypeDescription
okbooleanक्या सभी दावे पास हुए
passednumberक्या सभी दावे पास हुए
failednumberक्या सभी दावे पास हुए
totalnumberपास हुए दावों की संख्या
assertionsarrayविफल दावों की संख्या
errorsarrayविस्तृत दावा परिणाम

Example: Assert status 200

yaml
response: ${http_request.result}
status: 200

Example: Assert JSON structure

yaml
response: ${http_request.result}
status: 200
json_path: {"data.id": "${expected_id}", "data.name": "John"}
json_path_exists: ["data.created_at", "data.email"]

Example: Assert API response

yaml
response: ${api_result}
status: [200, 201]
content_type: application/json
max_duration_ms: 1000
json_path: {"success": true}

HTTP Session

http.session

Send a sequence of HTTP requests with persistent cookies (login → action → logout)

Parameters:

NameTypeRequiredDefaultDescription
requestsarrayYes-Ordered list of HTTP requests to execute with shared cookies
authobjectNo-Authentication applied to all requests in the session
stop_on_errorbooleanNoTrueStop executing remaining requests if one fails (non-2xx)
timeoutnumberNo30Maximum time per individual request
verify_sslbooleanNoTrueVerify SSL certificates

Output:

FieldTypeDescription
okbooleanWhether all requests succeeded
resultsarrayResults from each request in order
cookiesobjectFinal session cookies as key-value pairs
duration_msnumberTotal duration in milliseconds

Example: Login and fetch data

yaml
requests: [{"label": "Login", "url": "https://example.com/api/login", "method": "POST", "body": {"username": "${env.USER}", "password": "${env.PASS}"}}, {"label": "Get Profile", "url": "https://example.com/api/profile", "method": "GET"}]
stop_on_error: true

Example: CSRF token flow

yaml
requests: [{"label": "Get CSRF Token", "url": "https://example.com/csrf-token", "method": "GET"}, {"label": "Submit Form", "url": "https://example.com/api/submit", "method": "POST", "body": {"data": "value"}}]

Webhook Wait

http.webhook_wait

Start a temporary server and wait for an incoming webhook callback

Parameters:

NameTypeRequiredDefaultDescription
pathstringNo/webhookURL path to listen on (e.g. /webhook, /callback)
portnumberNo0Port to listen on (0 = auto-assign)
timeoutnumberNo300Maximum time to wait for the webhook callback
use_ngrokbooleanNoFalseCreate an ngrok tunnel for public access (requires pyngrok)
ngrok_tokenstringNo-ngrok authentication token (free at ngrok.com)
expected_methodstringNoPOSTOnly accept this HTTP method (empty = accept any)
response_statusnumberNo200HTTP status code to respond with when webhook is received
response_bodystringNo{"ok": true}Response body to send back to the webhook caller

Output:

FieldTypeDescription
okbooleanWhether webhook was received before timeout
webhook_urlstringThe URL to send webhooks to (public if ngrok enabled)
methodstringHTTP method of the received webhook
headersobjectHeaders from the received webhook
bodyanyBody from the received webhook (parsed JSON or raw text)
queryobjectQuery parameters from the received webhook
duration_msnumberTime waited for the webhook in milliseconds

Example: Wait for Stripe webhook (local)

yaml
path: /webhook/stripe
port: 8765
timeout: 120
use_ngrok: false

Example: Wait for webhook with ngrok tunnel

yaml
path: /webhook
timeout: 300
use_ngrok: true
ngrok_token: ${env.NGROK_AUTH_TOKEN}

LLM चैट

llm.chat

बुद्धिमान ऑपरेशंस के लिए LLM APIs के साथ इंटरैक्ट करें

Parameters:

NameTypeRequiredDefaultDescription
promptstringYes-The prompt or question to send to the AI model
system_promptstringNo-System instructions to set AI behavior and context
contextobjectNo-Additional context data to include
messagesarrayNo-Previous messages for multi-turn conversation
providerselect (openai, anthropic, ollama)NoopenaiAI model provider
modelstringNogpt-4oSpecific model to use
temperaturenumberNo0.7Creativity level (0=deterministic, 1=creative)
max_tokensnumberNo2000Maximum tokens in response
response_formatselect (text, json, code, markdown)NotextExpected format of the AI response
api_keystringNo-API key (defaults to provider env var)
base_urlstringNo-Custom API base URL (for Ollama or proxies)

Output:

FieldTypeDescription
okbooleanक्या अनुरोध सफल हुआ
responsestringक्या अनुरोध सफल हुआ
parsedanyक्या अनुरोध सफल हुआ
modelstringLLM प्रतिक्रिया टेक्स्ट
tokens_usednumberपार्स की गई प्रतिक्रिया (यदि JSON फ़ॉर्मेट अनुरोधित)
finish_reasonstringउपयोग किया गया मॉडल

Example: Code Review

yaml
prompt: Review this code for bugs and improvements:

${code}
system_prompt: You are an expert code reviewer. Be specific and actionable.
model: gpt-4o

Example: Generate Fix

yaml
prompt: The UI evaluation found these issues: ${issues}

Generate code fixes.
system_prompt: You are a frontend developer. Return only valid code.
response_format: code

Example: Decision Making

yaml
prompt: Based on these test results, should we deploy? ${test_results}
system_prompt: You are a DevOps engineer. Return JSON: {"decision": "yes/no", "reason": "..."}
response_format: json

AI कोड फ़िक्स

llm.code_fix

इश्यू के आधार पर स्वचालित रूप से कोड फ़िक्स जनरेट करें

Parameters:

NameTypeRequiredDefaultDescription
issuesarrayYes-List of issues to fix (from ui.evaluate, test results, etc.)
source_filesarrayYes-Files to analyze and potentially fix
fix_modeselect (suggest, apply, dry_run)NosuggestHow to handle the suggested fixes
backupbooleanNoTrueCreate .bak backup before modifying files
contextstringNo-Text content to process
modelstringNogpt-4oSpecific model to use
api_keystringNo-API key (defaults to provider env var)

Output:

FieldTypeDescription
okbooleanक्या ऑपरेशन सफल हुआ
fixesarrayक्या ऑपरेशन सफल हुआ
appliedarrayक्या ऑपरेशन सफल हुआ
failedarrayजनरेट किए गए फ़िक्स की सूची
summarystringलागू किए गए फ़िक्स की सूची (यदि fix_mode apply है)

Example: Fix UI Issues

yaml
issues: ${ui_evaluation.issues}
source_files: ["./src/components/Footer.tsx", "./src/styles/footer.css"]
fix_mode: suggest
context: React + Tailwind CSS project

Example: Auto-fix and Apply

yaml
issues: ${test_results.failures}
source_files: ["./src/App.tsx"]
fix_mode: apply
backup: true

गणना करें

math.calculate

बुनियादी गणितीय ऑपरेशंस करें

Parameters:

NameTypeRequiredDefaultDescription
operationselect (add, subtract, multiply, divide, power, modulo, sqrt, abs)Yes-Operation to perform
anumberYes-First operand
bnumberNo-Second operand (not required for sqrt and abs)
precisionnumberNo2Number of decimal places

Output:

FieldTypeDescription
resultnumberगणना परिणाम
operationstringगणना परिणाम
expressionstringगणना परिणाम

Example: Add two numbers

yaml
operation: add
a: 10
b: 5

Example: Calculate power

yaml
operation: power
a: 2
b: 8

HTTP स्वास्थ्य जांच

monitor.http_check

HTTP स्वास्थ्य जांच / अपटाइम मॉनिटर

Parameters:

NameTypeRequiredDefaultDescription
urlstringYes-जांच के लिए URL
methodselect (GET, HEAD, POST)NoGETHTTP मेथड
expected_statusnumberNo200अपेक्षित HTTP स्थिति कोड
timeout_msnumberNo10000मिलिसेकंड में अनुरोध टाइमआउट
headersobjectNo-कस्टम अनुरोध हेडर्स
bodystringNo-अनुरोध बॉडी (POST के लिए)
check_sslbooleanNoTrueSSL प्रमाणपत्र की वैधता और समाप्ति की जांच करें
containsstringNo-प्रतिक्रिया बॉडी में यह स्ट्रिंग होनी चाहिए
follow_redirectsbooleanNoTrueHTTP रिडायरेक्ट का पालन करें

Output:

FieldTypeDescription
okbooleanWhether check completed
dataobject

Example: Basic health check

yaml
url: https://api.example.com/health
expected_status: 200

Example: Check with content validation

yaml
url: https://api.example.com/health
contains: "status":"ok"
timeout_ms: 5000

पोर्ट जांचें

port.check

जांचें कि नेटवर्क पोर्ट खुले हैं या बंद

Parameters:

NameTypeRequiredDefaultDescription
portanyYes-जांचने के लिए पोर्ट नंबर या पोर्ट की सरणी
hoststringNolocalhostजांचने के लिए पोर्ट नंबर या पोर्ट की सरणी
connect_timeoutnumberNo2कनेक्ट करने के लिए होस्ट
expect_openbooleanNo-प्रत्येक कनेक्शन प्रयास के लिए टाइमआउट

Output:

FieldTypeDescription
okbooleanपोर्ट खुले हैं यह दावा करने के लिए true सेट करें, बंद के लिए false
resultsarrayक्या सभी जांच पास हुईं (यदि expect_open सेट है)
open_portsarrayक्या सभी जांच पास हुईं (यदि expect_open सेट है)
closed_portsarrayपोर्ट जांच परिणामों की सरणी
summaryobjectखुले पोर्ट की सूची

Example: Check single port

yaml
port: 3000

Example: Check multiple ports

yaml
port: [3000, 8080, 5432]
host: localhost

Example: Assert ports are open

yaml
port: [80, 443]
host: example.com
expect_open: true

पोर्ट की प्रतीक्षा करें

port.wait

नेटवर्क पोर्ट उपलब्ध होने की प्रतीक्षा करें

Parameters:

NameTypeRequiredDefaultDescription
portnumberYes-प्रतीक्षा करने के लिए पोर्ट नंबर
hoststringNolocalhostकनेक्ट करने के लिए होस्ट
timeoutnumberNo60कनेक्ट करने के लिए होस्ट
intervalnumberNo500प्रतीक्षा करने का अधिकतम समय
expect_closedbooleanNoFalseकनेक्शन प्रयासों के बीच मिलीसेकंड में समय

Output:

FieldTypeDescription
okbooleanपोर्ट के अनुपलब्ध होने की प्रतीक्षा करें
availablebooleanक्या पोर्ट अपेक्षित स्थिति में है
hoststringक्या पोर्ट अपेक्षित स्थिति में है
portnumberक्या पोर्ट वर्तमान में उपलब्ध है
wait_time_msnumberजांचा गया होस्ट
attemptsnumberजांचा गया पोर्ट

Example: Wait for dev server

yaml
port: 3000
timeout: 30

Example: Wait for database

yaml
port: 5432
host: localhost
timeout: 60

Example: Wait for port to close

yaml
port: 8080
expect_closed: true
timeout: 10

प्रक्रियाएं सूचीबद्ध करें

process.list

सभी चल रही बैकग्राउंड प्रक्रियाएं सूचीबद्ध करें

Parameters:

NameTypeRequiredDefaultDescription
filter_namestringNo-Filter processes by name (substring match)
include_statusbooleanNoTrueInclude running/stopped status check for each process

Output:

FieldTypeDescription
okbooleanऑपरेशन सफलता
processesarrayऑपरेशन सफलता
countnumberऑपरेशन सफलता
runningnumberप्रक्रिया जानकारी की सूची
stoppednumberकुल प्रक्रियाओं की संख्या

Example: List all processes

yaml

Example: Filter by name

yaml
filter_name: dev

बैकग्राउंड प्रक्रिया शुरू करें

process.start

बैकग्राउंड प्रक्रिया शुरू करें (सर्वर, सेवा, आदि)

Parameters:

NameTypeRequiredDefaultDescription
commandstringYes-Shell command to execute
cwdstringNo-Directory to execute command in
envobjectNo-Additional environment variables to set
namestringNo-Friendly name to identify the process
wait_for_outputstringNo-String to wait for in stdout before returning
wait_timeoutnumberNo60Maximum time to wait in seconds
capture_outputbooleanNoTrueCapture stdout/stderr output from the process
log_filestringNo-File path to write process output to
auto_restartbooleanNoFalseAutomatically restart the process if it exits

Output:

FieldTypeDescription
okbooleanक्या प्रक्रिया सफलतापूर्वक शुरू हुई
pidnumberक्या प्रक्रिया सफलतापूर्वक शुरू हुई
process_idstringक्या प्रक्रिया सफलतापूर्वक शुरू हुई
namestringप्रक्रिया ID
commandstringprocess.stop के लिए आंतरिक प्रक्रिया पहचानकर्ता
cwdstringप्रक्रिया नाम
started_atstringनिष्पादित कमांड
initial_outputstringप्रक्रिया शुरू होने का ISO टाइमस्टैम्प

Example: Start dev server

yaml
command: npm run dev
cwd: ./frontend
name: frontend-dev
wait_for_output: ready on
wait_timeout: 30

Example: Start Python HTTP server

yaml
command: python -m http.server 8000
name: static-server

Example: Start with environment

yaml
command: node server.js
env: {"PORT": "3000", "NODE_ENV": "test"}
name: api-server
wait_for_output: listening

प्रक्रिया रोकें

process.stop

चल रही बैकग्राउंड प्रक्रिया रोकें

Parameters:

NameTypeRequiredDefaultDescription
process_idstringNo-Internal process identifier (from process.start)
namestringNo-Friendly name to identify the process
pidnumberNo-System process ID (PID) of the process
signalselect (SIGTERM, SIGKILL, SIGINT)NoSIGTERMSignal to send to the process
timeoutnumberNo10Maximum time to wait in seconds
forcebooleanNoFalseForce kill the process immediately with SIGKILL
stop_allbooleanNoFalseStop all tracked processes

Output:

FieldTypeDescription
okbooleanक्या सभी प्रक्रियाएं सफलतापूर्वक रोकी गईं
stoppedarrayक्या सभी प्रक्रियाएं सफलतापूर्वक रोकी गईं
failedarrayरोकी गई प्रक्रिया जानकारी की सूची
countnumberरोकी गई प्रक्रिया जानकारी की सूची

Example: Stop by process ID

yaml
process_id: ${start_result.process_id}

Example: Stop by name

yaml
name: dev-server

Example: Force kill by PID

yaml
pid: 12345
force: true

Example: Stop all processes

yaml
stop_all: true

शेल कमांड निष्पादित करें

shell.exec

शेल कमांड निष्पादित करें और आउटपुट कैप्चर करें

Parameters:

NameTypeRequiredDefaultDescription
commandstringYes-Shell command to execute
cwdstringNo-Directory to execute command in
envobjectNo-Additional environment variables to set
timeoutnumberNo300Maximum time to wait in seconds
shellbooleanNoFalseExecute command through shell (enables pipes, redirects)
capture_stderrbooleanNoTrueCapture stderr separately from stdout
encodingselect (utf-8, ascii, latin-1, utf-16, gbk, big5)Noutf-8Character encoding for the file
raise_on_errorbooleanNoFalseRaise exception if command returns non-zero exit code

Output:

FieldTypeDescription
okbooleanक्या कमांड सफलतापूर्वक निष्पादित हुई (एग्जिट कोड 0)
exit_codenumberक्या कमांड सफलतापूर्वक निष्पादित हुई (एग्जिट कोड 0)
stdoutstringक्या कमांड सफलतापूर्वक निष्पादित हुई (एग्जिट कोड 0)
stderrstringकमांड एग्जिट कोड
commandstringमानक आउटपुट
cwdstringमानक त्रुटि आउटपुट
duration_msnumberनिष्पादित कमांड

Example: Run npm install

yaml
command: npm install
cwd: ./my-project

Example: Run tests with pytest

yaml
command: python -m pytest tests/ -v
timeout: 120

Example: Git status

yaml
command: git status --porcelain

Example: Build project

yaml
command: npm run build
cwd: ./frontend
env: {"NODE_ENV": "production"}

SSH निष्पादन

ssh.exec

SSH के माध्यम से दूरस्थ सर्वर पर कमांड निष्पादित करें

Parameters:

NameTypeRequiredDefaultDescription
hoststringYes-SSH सर्वर होस्टनाम या IP
portnumberNo22SSH पोर्ट
usernamestringYes-SSH उपयोगकर्ता नाम
passwordstringNo-SSH पासवर्ड
private_keystringNo-PEM-प्रारूप प्राइवेट की
commandstringYes-दूरस्थ सर्वर पर निष्पादित करने के लिए कमांड
timeoutnumberNo30सेकंड में कमांड समय सीमा

Output:

FieldTypeDescription
okbooleanWhether command succeeded
dataobject

Example: List files on remote server

yaml
host: 192.168.1.100
username: deploy
command: ls -la /var/www

Example: Restart service

yaml
host: 10.0.0.5
username: root
command: systemctl restart nginx

SFTP डाउनलोड

ssh.sftp_download

SFTP के माध्यम से दूरस्थ सर्वर से फ़ाइल डाउनलोड करें

Parameters:

NameTypeRequiredDefaultDescription
hoststringYes-SSH सर्वर होस्टनाम या IP
portnumberNo22SSH पोर्ट
usernamestringYes-SSH उपयोगकर्ता नाम
passwordstringNo-SSH पासवर्ड
private_keystringNo-PEM-फॉर्मेट प्राइवेट की
remote_pathstringYes-रिमोट सर्वर पर फ़ाइल का पथ
local_pathstringYes-लोकल मशीन पर गंतव्य पथ

Output:

FieldTypeDescription
okbooleanWhether download succeeded
dataobject

Example: Download server log

yaml
host: 10.0.0.5
username: deploy
remote_path: /var/log/nginx/access.log
local_path: /tmp/access.log

SFTP अपलोड

ssh.sftp_upload

SFTP के माध्यम से दूरस्थ सर्वर पर फ़ाइल अपलोड करें

Parameters:

NameTypeRequiredDefaultDescription
hoststringYes-SSH सर्वर होस्टनाम या IP
portnumberNo22SSH पोर्ट
usernamestringYes-SSH उपयोगकर्ता नाम
passwordstringNo-SSH पासवर्ड
private_keystringNo-PEM-प्रारूप प्राइवेट की
local_pathstringYes-अपलोड करने के लिए स्थानीय फ़ाइल का पथ
remote_pathstringYes-दूरस्थ सर्वर पर गंतव्य पथ
overwritebooleanNoTrueमौजूदा दूरस्थ फ़ाइल को ओवरराइट करें

Output:

FieldTypeDescription
okbooleanWhether upload succeeded
dataobject

Example: Upload deployment archive

yaml
host: 10.0.0.5
username: deploy
local_path: /tmp/app.tar.gz
remote_path: /opt/releases/app.tar.gz

E2E चरण चलाएं

testing.e2e.run_steps

एंड-टू-एंड टेस्ट चरणों को क्रमिक रूप से निष्पादित करें

Parameters:

NameTypeRequiredDefaultDescription
stepsarrayYes-टेस्ट चरण परिभाषाओं की सरणी
stop_on_failurebooleanNoTrueWhether to stop on failure
timeout_per_stepnumberNo30000Timeout Per Step value

Output:

FieldTypeDescription
okbooleanक्या ऑपरेशन सफल हुआ
passednumberक्या ऑपरेशन सफल हुआ
failednumberक्या ऑपरेशन सफल हुआ
resultsarrayपास हुए टेस्ट की संख्या

क्वालिटी गेट

testing.gate.evaluate

परिभाषित थ्रेशोल्ड के विरुद्ध गुणवत्ता मेट्रिक्स का मूल्यांकन करें

Parameters:

NameTypeRequiredDefaultDescription
metricsobjectYes-मूल्यांकन के लिए मेट्रिक्स
thresholdsobjectYes-मूल्यांकन के लिए मेट्रिक्स
fail_on_breachbooleanNoTrueWhether to fail on breach

Output:

FieldTypeDescription
okbooleanप्रत्येक मेट्रिक के लिए थ्रेशोल्ड मान
passedbooleanक्या ऑपरेशन सफल हुआ
resultsarrayक्या ऑपरेशन सफल हुआ
summarystringपास हुए टेस्ट की संख्या

HTTP टेस्ट चलाएं

testing.http.run_suite

HTTP API टेस्ट सूट निष्पादित करें

Parameters:

NameTypeRequiredDefaultDescription
testsarrayYes-HTTP टेस्ट परिभाषाओं की सरणी
base_urlstringNo-Base URL for API requests
headersobjectNo{}HTTP request headers

Output:

FieldTypeDescription
okbooleanक्या ऑपरेशन सफल हुआ
passednumberक्या ऑपरेशन सफल हुआ
failednumberक्या ऑपरेशन सफल हुआ
resultsarrayपास हुए टेस्ट की संख्या

लिंटर चलाएं

testing.lint.run

स्रोत कोड पर लिंटिंग जांच चलाएं

Parameters:

NameTypeRequiredDefaultDescription
pathsarrayYes-लिंट करने के लिए फ़ाइलें या डायरेक्टरी
linterstringNoautoLinter
fixbooleanNoFalseWhether to fix

Output:

FieldTypeDescription
okbooleanक्या ऑपरेशन सफल हुआ
errorsnumberक्या ऑपरेशन सफल हुआ
warningsnumberक्या ऑपरेशन सफल हुआ
issuesarrayत्रुटियों की संख्या

रिपोर्ट जनरेट करें

testing.report.generate

टेस्ट निष्पादन रिपोर्ट जनरेट करें

Parameters:

NameTypeRequiredDefaultDescription
resultsobjectYes-Results data
formatstringNojsonFormat
titlestringNoTest ReportTitle

Output:

FieldTypeDescription
okbooleanक्या ऑपरेशन सफल हुआ
reportstringक्या ऑपरेशन सफल हुआ
formatstringक्या ऑपरेशन सफल हुआ
summaryobjectरिपोर्ट

परिदृश्य चलाएं

testing.scenario.run

परिदृश्य-आधारित टेस्ट निष्पादित करें (BDD शैली)

Parameters:

NameTypeRequiredDefaultDescription
scenarioobjectYes-given/when/then के साथ परिदृश्य परिभाषा
contextobjectNo{}Additional context data

Output:

FieldTypeDescription
okbooleangiven/when/then के साथ परिदृश्य परिभाषा
passedbooleanक्या ऑपरेशन सफल हुआ
stepsarrayक्या ऑपरेशन सफल हुआ

सुरक्षा स्कैन

testing.security.scan

सुरक्षा कमजोरियों के लिए स्कैन करें

Parameters:

NameTypeRequiredDefaultDescription
targetsarrayYes-स्कैन करने के लिए फ़ाइलें, URLs, या पथ
scan_typestringNoallScan Type
severity_thresholdstringNomediumSeverity Threshold

Output:

FieldTypeDescription
okbooleanक्या ऑपरेशन सफल हुआ
vulnerabilitiesarrayक्या ऑपरेशन सफल हुआ
summaryobjectक्या ऑपरेशन सफल हुआ

टेस्ट सूट चलाएं

testing.suite.run

टेस्ट का संग्रह निष्पादित करें

Parameters:

NameTypeRequiredDefaultDescription
testsarrayYes-टेस्ट परिभाषाओं की सरणी
parallelbooleanNoFalseWhether to parallel
max_failuresnumberNo0टेस्ट परिभाषाओं की सरणी

Output:

FieldTypeDescription
okboolean0 = कोई सीमा नहीं
passednumber0 = कोई सीमा नहीं
failednumberक्या ऑपरेशन सफल हुआ
skippednumberपास हुए टेस्ट की संख्या
resultsarrayविफल टेस्ट की संख्या

यूनिट टेस्ट चलाएं

testing.unit.run

यूनिट टेस्ट निष्पादित करें

Parameters:

NameTypeRequiredDefaultDescription
pathsarrayYes-टेस्ट फ़ाइलों या डायरेक्टरी के पथ
patternstringNotest_*.pyPattern
verbosebooleanNoFalseWhether to verbose

Output:

FieldTypeDescription
okbooleanक्या ऑपरेशन सफल हुआ
passednumberक्या ऑपरेशन सफल हुआ
failednumberक्या ऑपरेशन सफल हुआ
errorsnumberपास हुए टेस्ट की संख्या
resultsarrayविफल टेस्ट की संख्या

विजुअल तुलना

testing.visual.compare

अंतर के लिए विजुअल आउटपुट तुलना करें

Parameters:

NameTypeRequiredDefaultDescription
actualstringYes-वास्तविक इमेज का पथ या base64
expectedstringYes-वास्तविक इमेज का पथ या base64
thresholdnumberNo0.1अपेक्षित इमेज का पथ या base64
output_diffbooleanNoTrueWhether to output diff

Output:

FieldTypeDescription
okbooleanअधिकतम अनुमत अंतर (0-1)
matchbooleanक्या ऑपरेशन सफल हुआ
differencenumberक्या ऑपरेशन सफल हुआ
diff_imagestringमैच

UI गुणवत्ता मूल्यांकन करें

ui.evaluate

बहु-आयामी स्कोरिंग के साथ व्यापक UI गुणवत्ता मूल्यांकन

Parameters:

NameTypeRequiredDefaultDescription
screenshotstringYes-मूल्यांकन के लिए स्क्रीनशॉट पथ या URL
app_typestringNoweb_appमूल्यांकन के लिए स्क्रीनशॉट पथ या URL
page_typestringNo-मूल्यांकन किए जा रहे पेज का प्रकार
evaluation_criteriaarrayNo['visual_design', 'usability', 'accessibility', 'consistency', 'responsiveness']मूल्यांकन के लिए विशिष्ट मानदंड (डिफ़ॉल्ट सभी)
target_audiencestringNo-लक्षित उपयोगकर्ताओं का विवरण
brand_guidelinesstringNo-जांचने के लिए संक्षिप्त ब्रांड दिशानिर्देश
min_scorenumberNo70पास होने के लिए न्यूनतम समग्र स्कोर (0-100)
api_keystringNo-OpenAI API कुंजी (डिफ़ॉल्ट OPENAI_API_KEY env var)

Output:

FieldTypeDescription
okbooleanOpenAI API कुंजी (डिफ़ॉल्ट OPENAI_API_KEY env var)
passedbooleanक्या मूल्यांकन सफल हुआ
overall_scorenumberक्या मूल्यांकन सफल हुआ
scoresobjectसमग्र UI गुणवत्ता स्कोर (0-100)
strengthsarrayसमग्र UI गुणवत्ता स्कोर (0-100)
issuesarrayमूल्यांकन मानदंड द्वारा स्कोर
recommendationsarrayUI ताकतों की सूची
summarystringविशिष्ट सुधार सिफारिशें

Example: Evaluate Dashboard

yaml
screenshot: ./screenshots/dashboard.png
app_type: dashboard
page_type: analytics dashboard
target_audience: business analysts
min_score: 75

Example: E-commerce Page Review

yaml
screenshot: ./screenshots/product.png
app_type: e_commerce
page_type: product detail
evaluation_criteria: ["usability", "cta_effectiveness", "visual_design"]

AI के साथ इमेज विश्लेषण करें

vision.analyze

OpenAI Vision API (GPT-4V) का उपयोग करके इमेज का विश्लेषण करें

Parameters:

NameTypeRequiredDefaultDescription
imagestringYes-Image file path, URL, or base64 data
promptstringYes-What to analyze in the image
analysis_typeselect (general, ui_review, accessibility, bug_detection, comparison, data_extraction)NogeneralType of analysis to perform
contextstringNo-Additional context about the image
output_formatselect (text, structured, json, checklist)NostructuredFormat of the analysis output
modelstringNogpt-4oSpecific model to use
max_tokensnumberNo1000Maximum tokens in response
api_keystringYes-API key for authentication
header_namestringNoX-API-KeyHTTP header name
detailselect (low, high, auto)NohighLevel of detail for image analysis

Output:

FieldTypeDescription
okbooleanक्या विश्लेषण सफल हुआ
analysisstringक्या विश्लेषण सफल हुआ
structuredobjectAI विश्लेषण परिणाम
modelstringसंरचित विश्लेषण डेटा (यदि output_format structured/json है)
tokens_usednumberविश्लेषण के लिए उपयोग किया गया मॉडल

Example: UI Review

yaml
image: ./screenshots/dashboard.png
prompt: Review this dashboard UI. Evaluate: 1) Visual hierarchy 2) Color contrast 3) Button visibility 4) Overall usability. Suggest specific improvements.
analysis_type: ui_review
output_format: structured

Example: Bug Detection

yaml
image: ./screenshots/form.png
prompt: Find any visual bugs, layout issues, or broken elements in this form
analysis_type: bug_detection

Example: Accessibility Check

yaml
image: ./screenshots/page.png
prompt: Evaluate accessibility: color contrast, text readability, button sizes, clear labels
analysis_type: accessibility

इमेज तुलना करें

vision.compare

दो इमेज की तुलना करें और दृश्य अंतर पहचानें

Parameters:

NameTypeRequiredDefaultDescription
image_beforestringYes-Path to baseline/before image
image_afterstringYes-Path to current/after image
comparison_typeselect (visual_regression, layout_diff, content_diff, full_analysis)Novisual_regressionType of comparison to perform
thresholdnumberNo5Acceptable difference percentage
focus_areasarrayNo-Specific areas to focus on
ignore_areasarrayNo-Areas to ignore (dynamic content, ads, etc.)
modelstringNogpt-4oSpecific model to use
api_keystringYes-API key for authentication
header_namestringNoX-API-KeyHTTP header name

Output:

FieldTypeDescription
okbooleanक्या तुलना सफल हुई
has_differencesbooleanक्या तुलना सफल हुई
similarity_scorenumberक्या महत्वपूर्ण अंतर पाए गए
differencesarrayसमानता प्रतिशत (0-100)
summarystringपहचाने गए अंतरों की सूची
recommendationstringतुलना परिणामों का सारांश

Example: Visual Regression Test

yaml
image_before: ./screenshots/baseline/home.png
image_after: ./screenshots/current/home.png
comparison_type: visual_regression
threshold: 5

Example: Layout Comparison

yaml
image_before: ./design/mockup.png
image_after: ./screenshots/implementation.png
comparison_type: layout_diff
focus_areas: ["header", "main content"]

Released under the Apache 2.0 License.