|
Download tools/website_db.md from StarpowerTechnology/HiggsfieldMCP: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/website_db.md
- Command line
-
hf download hf://datasets/StarpowerTechnology/HiggsfieldMCP/tools/website_db.md
-
curl -L -o website_db.md https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/website_db.md
1.21 kB
Inspect the website's database (D1 / SQLite), READ-ONLY. The website has ONE database — the live site's real data. Pick an operation: 'tables' (list tables); 'schema' (a table's columns — needs table); 'rows' (a page of rows — needs table; optional filters, order_by + order_dir, limit (default 50) + offset); 'query' (one read-only SELECT/WITH — needs sql). Writes and DDL are rejected.
mcp__Higgsfield__website_db(args: {
// 'rows' filters, each 'col:op[:value]' (eq ne gt gte lt lte like is_null).
filters?: string[],
limit?: integer, // minimum: 1, maximum: 9007199254740991
offset?: integer, // minimum: 0, maximum: 9007199254740991
// What to read: tables | schema | rows | query.
operation: "tables" | "schema" | "rows" | "query",
order_by?: string,
order_dir?: "asc" | "desc",
// A single read-only SELECT/WITH statement (operation 'query').
sql?: string,
// Table name. Required for 'schema' and 'rows'.
table?: string,
// The website's id (returned by create_website).
website_id: string,
}): Promise<{
error?: string,
// The read result (shape depends on operation).
// Additional JSON Schema constraints: propertyNames={"type": "string"}
result?: { [key: string]: any },
}>;