Is your feature request related to a problem? Please describe.
Currently activities defined as tool cannot be executed as local activities as we use temporal_workflow.execute_activity always.
Describe the solution you'd like
Introduce additional boolean parameter (for ex as_local_activity) to activity_as_tool function and use execute_local_activity method when set to true
Additional context