Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions proto/agentic_mesh_protocol/module/v1/information.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,21 @@ message GetModuleInputRequest {
bool llm_format = 2;
}

// GetModuleSelectSchemaRequest
//
// Fields:
//
// - module_id: Database ID of the Module to get select schema
// - llm_format: Define if the select schema should be in LLM format or raw pydantic format
message GetModuleSelectInputRequest {
// module_id: Database ID of the Module to get select input schema
string module_id = 1 [
(buf.validate.field).string.min_len = 1,
(buf.validate.field).string.prefix = "modules:",
(buf.validate.field).required = true
];
}

// GetModuleOutputRequest
//
// Fields:
Expand Down Expand Up @@ -100,6 +115,19 @@ message GetModuleInputResponse {
google.protobuf.Struct input_schema = 2 [(buf.validate.field).required = true];
}

// GetModuleInputSelectResponse
//
// Returns:
//
// - success: Flag to indicate if the input schema request was successful
// - input_schema: Input schema of the Module
message GetModuleSelectInputResponse {
// success: Flag to indicate if the input schema request was successful
bool success = 1;
// input_schema: Input schema of the Module
google.protobuf.Struct select_input_schema = 2 [(buf.validate.field).required = true];
}

// GetModuleOutputResponse
//
// Returns:
Expand Down
2 changes: 2 additions & 0 deletions proto/agentic_mesh_protocol/module/v1/module_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ service ModuleService {
rpc GetModuleJobs(GetModuleJobsRequest) returns (GetModuleJobsResponse);
// GetModuleInput
rpc GetModuleInput(GetModuleInputRequest) returns (GetModuleInputResponse);
// GetModuleSelectInput
rpc GetModuleSelectInput(GetModuleSelectInputRequest) returns (GetModuleSelectInputResponse);
// GetModuleOutput
rpc GetModuleOutput(GetModuleOutputRequest) returns (GetModuleOutputResponse);
// GetModuleSetup
Expand Down
4 changes: 2 additions & 2 deletions proto/buf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
version: v2
deps:
- name: buf.build/bufbuild/protovalidate
commit: 52f32327d4b045a79293a6ad4e7e1236
digest: b5:cbabc98d4b7b7b0447c9b15f68eeb8a7a44ef8516cb386ac5f66e7fd4062cd6723ed3f452ad8c384b851f79e33d26e7f8a94e2b807282b3def1cd966c7eace97
commit: 2a1774d888024a9b93ce7eb4b59f6a83
digest: b5:6b7f9bc919b65e5b79d7b726ffc03d6f815a412d6b792970fa6f065cae162107bd0a9d47272c8ab1a2c9514e87b13d3fbf71df614374d62d2183afb64be2d30a