Support no-input GET requests
Deploy / deploy (push) Successful in 1m32s
CI / Rust Checks (push) Failing after 4m30s
CI / UI Checks (push) Has been skipped
CI / Frontend E2E (push) Has been skipped
CI / Deployment Manifests (push) Has been skipped

This commit is contained in:
github-ops
2026-06-20 19:46:41 +00:00
parent 8096502bda
commit 906b6c1aea
4 changed files with 106 additions and 6 deletions
+4
View File
@@ -123,6 +123,10 @@ impl RuntimeExecutor {
) -> Result<PreparedRequest, RuntimeError> {
operation.input_schema.validate_shape(input)?;
if operation.input_mapping.is_empty() {
return Ok(PreparedRequest::default());
}
let mapped_input = operation.input_mapping.apply(&json!({ "mcp": input }))?;
PreparedRequest::from_mapping_output(&mapped_input)
}