# Tctl commands and GRPC API

**URL:** <https://community.temporal.io/t/tctl-commands-and-grpc-api/3080>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [October 4, 2021, 12:56pm UTC](https://community.temporal.io/t/tctl-commands-and-grpc-api/3080 "2021-10-04T12:56:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phani](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/phani/32/1309_2.png) [@phani](https://community.temporal.io/u/phani)\
**Post date:** [October 4, 2021, 12:56pm UTC](https://community.temporal.io/t/tctl-commands-and-grpc-api/3080/1 "2021-10-04T12:56:08Z")

</div>

Hi All,

Is it possible to implement all tctl functionality via grpc API of temporal like restart , reset etc… ?

Thanks  
phani

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [October 4, 2021, 2:34pm UTC](https://community.temporal.io/t/tctl-commands-and-grpc-api/3080/2 "2021-10-04T14:34:18Z")

</div>

From restart, you have multiple options, could terminate the previous run and start again, or use  
ResetWorkflowExecutionRequest via api.

This should help - [api/service.proto at 916abc2834440e204b85d04f61b88f3cad7402e1 · temporalio/api · GitHub](https://github.com/temporalio/api/blob/916abc2834440e204b85d04f61b88f3cad7402e1/temporal/api/workflowservice/v1/service.proto)
