pub struct MaterializeParams {
pub table: Option<String>,
pub selector: RowSelector,
pub fields: FieldSelector,
pub format: MaterializeFormat,
pub dest: String,
pub concat: Option<bool>,
pub write_mode: Option<WriteMode>,
pub dry_run: Option<bool>,
}Expand description
Parameters for the row_materialize MCP tool.
§Required fields
selector— identifies which rows to materialise.fields— field projection.format— output serialisation format.dest— absolute filesystem path. Relative paths are rejected at validation time (Crux #1: Agent-First trust model).
Fields§
§table: Option<String>Target table name. Optional in legacy single-table mode.
selector: RowSelectorRow selector (by id or by filter).
fields: FieldSelectorField projection (all fields or a named subset).
format: MaterializeFormatOutput format.
dest: StringAbsolute destination path. When concat=false (default) this is
treated as a directory; when concat=true it is the output file path.
concat: Option<bool>When false (default) each row is written to {dest}/{row.id}.{ext}.
When true all rows are concatenated into a single file at {dest}.
write_mode: Option<WriteMode>Behaviour when the target file already exists. Defaults to Overwrite.
dry_run: Option<bool>When true, validation, projection, serialisation, and SHA-256
computation are performed but no file is written. The returned
MaterializeFile entries carry would-be path, bytes, and
sha256 values (Crux #3 — digest is always present).
Trait Implementations§
Source§impl Debug for MaterializeParams
impl Debug for MaterializeParams
Source§impl<'de> Deserialize<'de> for MaterializeParams
impl<'de> Deserialize<'de> for MaterializeParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for MaterializeParams
impl JsonSchema for MaterializeParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more