Simpletool

Latest version: v0.0.32

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.0.17

Added
- add `name` and `description` validation Field rules in `SimpleToolResponseModel`
- add str to `ResourceConent`-*uri* field to match rfc3986 uris

Changed
- `ImageContent` - rename *data* -> *image*
- `FileContent` - rename *data* -> *file*
- `ErrorContent` - rename *message* -> *error*

0.0.16

Fixed
- incorrect `SimpleToolResponseModel` Pydantic model configuration + from_attributes allow easy serialize/deserialize

0.0.15

Fixed
- incorrect github action workflow for `setup.py` version

0.0.14

Added
- SimpleToolResponseModel
- add correct handle __repr__ for SimpleTool child classes
- add get_version for `setup.py` to automate version update
- auto add annotation version in `__init__.py`

0.0.13

Fixed
- Updated test import from `BoolContents` to `BoolContent` to match type definition

0.0.12

Added
- added `input_model` will be mandatory - as mapping SimpleInputModel to SimpleTool
- `input_schema` will be from now generated based on `input_model` (and will not be able to be ovveriden)
- added `output_model` + `output_schema` will be generated based on return type of `run` method
- types for return (1 base + 6 subclasses):
- Content - base class
- TextContent - for text based content
- ImageContent - for image based content
- FileContent - for file based content
- ResourceContent - for resource based content
- BoolContent - for boolean based content
- ErrorContent - for error based content

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.