(self, body: ToolsetCreateBody)
| 896 | |
| 897 | @step("Create an MCP toolset with the tools {body.tools}") |
| 898 | def create_toolset(self, body: ToolsetCreateBody) -> ToolsetRow: |
| 899 | return unwrap( |
| 900 | self.transport.post( |
| 901 | "/v1/mcp/toolset", |
| 902 | headers=self.management_headers(), |
| 903 | json=body, |
| 904 | response_type=ToolsetRow, |
| 905 | ) |
| 906 | ) |
| 907 | |
| 908 | @step("Update an MCP toolset with {body}") |
| 909 | def update_toolset(self, body: ToolsetUpdateBody) -> ToolsetRow: |