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
9 changes: 0 additions & 9 deletions src/libs/Dust/Generated/Dust.Models.Context.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ public sealed partial class Context
[global::System.Text.Json.Serialization.JsonPropertyName("profilePictureUrl")]
public string? ProfilePictureUrl { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("selectedSpaceIds")]
public global::System.Collections.Generic.IList<string>? SelectedSpaceIds { get; set; }

/// <summary>
/// Data source tags to exclude from retrieval for this run, as opaque `key:value` strings.
/// </summary>
Expand Down Expand Up @@ -103,7 +97,6 @@ public sealed partial class Context
/// URL of the user's profile picture<br/>
/// Example: https://example.com/profiles/johndoe123.jpg
/// </param>
/// <param name="selectedSpaceIds"></param>
/// <param name="excludedRetrievalTags">
/// Data source tags to exclude from retrieval for this run, as opaque `key:value` strings.
/// </param>
Expand All @@ -120,7 +113,6 @@ public Context(
string? fullName,
string? email,
string? profilePictureUrl,
global::System.Collections.Generic.IList<string>? selectedSpaceIds,
global::System.Collections.Generic.IList<string>? excludedRetrievalTags,
string? hostSelection,
global::Dust.ContextAgenticMessageData? agenticMessageData)
Expand All @@ -130,7 +122,6 @@ public Context(
this.FullName = fullName;
this.Email = email;
this.ProfilePictureUrl = profilePictureUrl;
this.SelectedSpaceIds = selectedSpaceIds;
this.ExcludedRetrievalTags = excludedRetrievalTags;
this.HostSelection = hostSelection;
this.AgenticMessageData = agenticMessageData;
Expand Down
16 changes: 15 additions & 1 deletion src/libs/Dust/Generated/Dust.Models.MCPServerViewServerTool.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ public sealed partial class MCPServerViewServerTool
[global::System.Text.Json.Serialization.JsonPropertyName("inputSchema")]
public object? InputSchema { get; set; }

/// <summary>
/// Set to true when the remote MCP server annotates the tool as read-only. Absent otherwise.<br/>
/// Example: true
/// </summary>
/// <example>true</example>
[global::System.Text.Json.Serialization.JsonPropertyName("readOnlyHint")]
public bool? ReadOnlyHint { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand All @@ -53,17 +61,23 @@ public sealed partial class MCPServerViewServerTool
/// JSON Schema for the tool's input parameters<br/>
/// Example: {"type":"object","properties":{"customerId":{"type":"string"}}}
/// </param>
/// <param name="readOnlyHint">
/// Set to true when the remote MCP server annotates the tool as read-only. Absent otherwise.<br/>
/// Example: true
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public MCPServerViewServerTool(
string? name,
string? description,
object? inputSchema)
object? inputSchema,
bool? readOnlyHint)
{
this.Name = name;
this.Description = description;
this.InputSchema = inputSchema;
this.ReadOnlyHint = readOnlyHint;
}

/// <summary>
Expand Down
13 changes: 6 additions & 7 deletions src/libs/Dust/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2635,7 +2635,7 @@
}
},
"400": {
"description": "Bad Request. Invalid parameters, a user who isn't a member of the workspace, the conversation's owner, or a conversation in a project.\n"
"description": "Bad Request. Invalid parameters, a user who isn't a member of the workspace, the conversation's owner, a conversation in a project, or a sub-agent conversation.\n"
},
"401": {
"description": "Unauthorized. Invalid or missing authentication token."
Expand Down Expand Up @@ -6953,12 +6953,6 @@
"description": "URL of the user's profile picture",
"example": "https://example.com/profiles/johndoe123.jpg"
},
"selectedSpaceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"excludedRetrievalTags": {
"type": "array",
"nullable": true,
Expand Down Expand Up @@ -8280,6 +8274,11 @@
}
}
}
},
"readOnlyHint": {
"type": "boolean",
"description": "Set to true when the remote MCP server annotates the tool as read-only. Absent otherwise.",
"example": true
}
}
}
Expand Down
Loading